diff options
author | Jiri Kosina <jkosina@suse.cz> | 2011-07-29 11:31:16 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-07-29 11:31:16 -0400 |
commit | 5903417cd66d87a126f5cf27a846fc0985093f06 (patch) | |
tree | 0e6bfdb8f52cec7f5f3cc2866fad1caa6637cb53 /drivers | |
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')
-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 be745ae8f4e3..ade35dde5b51 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c | |||
@@ -46,14 +46,15 @@ | |||
46 | #include <asm/byteorder.h> | 46 | #include <asm/byteorder.h> |
47 | #include <asm/uaccess.h> | 47 | #include <asm/uaccess.h> |
48 | #include <asm/irq.h> | 48 | #include <asm/irq.h> |
49 | #include <asm/prom.h> | ||
50 | 49 | ||
51 | #ifdef CONFIG_SPARC | 50 | #ifdef CONFIG_SPARC |
52 | #include <asm/idprom.h> | 51 | #include <asm/idprom.h> |
52 | #include <asm/prom.h> | ||
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | #ifdef CONFIG_PPC_PMAC | 55 | #ifdef CONFIG_PPC_PMAC |
56 | #include <asm/pci-bridge.h> | 56 | #include <asm/pci-bridge.h> |
57 | #include <asm/prom.h> | ||
57 | #include <asm/machdep.h> | 58 | #include <asm/machdep.h> |
58 | #include <asm/pmac_feature.h> | 59 | #include <asm/pmac_feature.h> |
59 | #endif | 60 | #endif |