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 <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