]> git.hungrycats.org Git - linux/commitdiff
[PATCH] i2o.h fix
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>
Sat, 9 Oct 2004 05:51:39 +0000 (22:51 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 9 Oct 2004 05:51:39 +0000 (22:51 -0700)
i2o.h uses stuff defined in linux/dma-mapping.h but includes
asm/dma-mapping.h instead.  It works by accident on some platforms
(they end up pulling linux/dma-mapping.h from asm-generic/pci-dma-compat.h
before it hits the fan), but breaks on e.g. alpha.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/i2o.h

index 6f9949fc60df7dc87c0f12e8f88d85c16b6d5657..a68437640135ef161e9667f211e33d05c477171d 100644 (file)
@@ -28,7 +28,7 @@
 #include <asm/io.h>
 #include <asm/semaphore.h>     /* Needed for MUTEX init macros */
 #include <linux/pci.h>
-#include <asm/dma-mapping.h>
+#include <linux/dma-mapping.h>
 
 /* message queue empty */
 #define I2O_QUEUE_EMPTY                0xffffffff