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
6b2c1e49da
commit
4f4f3c8fdc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355088
@ -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