From 9172e7feebc76e1c3492e55dfdb28d8f0b31425e Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Thu, 11 Aug 2016 15:06:12 +0000 Subject: [PATCH] Revert r303890 for now here as camdd fails to build on powerpc* due to device_t only being available under _KERNEL. Reported by: bde (_KERNEL in general), kib (build failure) MFC after: 1 day X-MFC with: r303890 --- sys/powerpc/include/bus_dma.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/powerpc/include/bus_dma.h b/sys/powerpc/include/bus_dma.h index d89985420f0..e070a942381 100644 --- a/sys/powerpc/include/bus_dma.h +++ b/sys/powerpc/include/bus_dma.h @@ -30,6 +30,8 @@ #include -int bus_dma_tag_set_iommu(bus_dma_tag_t, device_t iommu, void *cookie); +struct device; + +int bus_dma_tag_set_iommu(bus_dma_tag_t, struct device *iommu, void *cookie); #endif /* _POWERPC_BUS_DMA_H_ */