diff options
author | Jiri Kosina <jkosina@suse.cz> | 2011-07-29 17:31:16 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-07-29 17:31:16 +0200 |
commit | 5903417cd66d87a126f5cf27a846fc0985093f06 (patch) | |
tree | 0e6bfdb8f52cec7f5f3cc2866fad1caa6637cb53 /drivers/net/sungem.c | |
parent | e08dc1325feaf49eec392ee52feb2974ec3f5155 (diff) |
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/net/sungem.c')
-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 be745ae8f4e..ade35dde5b5 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 |