Limit bus_dma_dmar_set_buswide() definition to kernel only.
The header is abused for inclusion into userspace, and on stable branches neither device_t nor bool types are not defined when used from userspace. Sponsored by: The FreeBSD Foundation X-MFC after: now
This commit is contained in:
parent
084caaa165
commit
9da47925f0
@ -191,7 +191,9 @@ _bus_dmamap_complete(bus_dma_tag_t dmat, bus_dmamap_t map,
|
||||
return (tc->impl->map_complete(dmat, map, segs, nsegs, error));
|
||||
}
|
||||
|
||||
#ifdef _KERNEL
|
||||
bool bus_dma_dmar_set_buswide(device_t dev);
|
||||
#endif
|
||||
|
||||
#endif /* !_X86_BUS_DMA_H_ */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user