]> git.hungrycats.org Git - linux/commitdiff
[PATCH] m68k dma-mapping
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 26 Jul 2003 02:17:12 +0000 (19:17 -0700)
committerJens Axboe <axboe@suse.de>
Sat, 26 Jul 2003 02:17:12 +0000 (19:17 -0700)
M68k: Fix SCSI breakage introduced in 2.5.74 by not including
<asm-generic/dma-mapping.h>, unless PCI is available.

include/asm-m68k/dma-mapping.h

index e7e16901f686be2157f108abaffb00ec8aade02b..e7799f13ad8c258623eb3b4c7cd8dbd83485c296 100644 (file)
@@ -1 +1,10 @@
+#ifndef _M68K_DMA_MAPPING_H
+#define _M68K_DMA_MAPPING_H
+
+#include <linux/config.h>
+
+#ifdef CONFIG_PCI
 #include <asm-generic/dma-mapping.h>
+#endif
+
+#endif  /* _M68K_DMA_MAPPING_H */