diff options
author | Jiri Kosina <jkosina@suse.cz> | 2011-07-29 15:31:16 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-07-29 15:31:16 (GMT) |
commit | 5903417cd66d87a126f5cf27a846fc0985093f06 (patch) | |
tree | 0e6bfdb8f52cec7f5f3cc2866fad1caa6637cb53 /drivers | |
parent | e08dc1325feaf49eec392ee52feb2974ec3f5155 (diff) | |
download | linux-5903417cd66d87a126f5cf27a846fc0985093f06.tar.xz |
sungem: fix compile failure caused by trivial #include consolidation
Only Sparc and PPC actually have the asm/prom.h include and as such they
can't be moved outside of the ifdefs.
Reported-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/sungem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index be745ae..ade35dd 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c @@ -46,14 +46,15 @@ #include <asm/byteorder.h> #include <asm/uaccess.h> #include <asm/irq.h> -#include <asm/prom.h> #ifdef CONFIG_SPARC #include <asm/idprom.h> +#include <asm/prom.h> #endif #ifdef CONFIG_PPC_PMAC #include <asm/pci-bridge.h> +#include <asm/prom.h> #include <asm/machdep.h> #include <asm/pmac_feature.h> #endif |