OSDN Git Service

[PATCH] fix unresolved symbols on alpha
authorGilles Espinasse <g.esp@free.fr>
Sun, 11 Nov 2007 15:27:43 +0000 (16:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 11 Nov 2007 17:43:57 +0000 (18:43 +0100)
When compiling the out-of-tree e100 driver, some unresolved symbols
errors happened due to the fact that asm-alpha/pci.h does not include
asm/io.h, contrarily to most other archs.

This trivial patch fixes the problem.

include/asm-alpha/pci.h

index 98f7c34..720d5c6 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/spinlock.h>
 #include <asm/scatterlist.h>
 #include <asm/machvec.h>
+#include <asm/io.h>
 
 /*
  * The following structure is used to manage multiple PCI busses.