Need to explicitly include linux/device.h. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> ---
diff -Naur linux-2.6.22/arch/m68knommu/kernel/dma.c linux-2.6.22-uc0/arch/m68knommu/kernel/dma.c --- linux-2.6.22/arch/m68knommu/kernel/dma.c 2007-07-12 15:23:02.000000000 +1000 +++ linux-2.6.22-uc0/arch/m68knommu/kernel/dma.c 2007-07-12 15:27:00.000000000 +1000 @@ -8,6 +8,7 @@ #include <linux/types.h> #include <linux/mm.h> #include <linux/string.h> +#include <linux/device.h> #include <asm/io.h> void *dma_alloc_coherent(struct device *dev, size_t size, - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

