]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
sungem: fix compile failure caused by trivial #include consolidation
authorJiri Kosina <jkosina@suse.cz>
Fri, 29 Jul 2011 15:31:16 +0000 (17:31 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 29 Jul 2011 15:31:16 +0000 (17:31 +0200)
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>
drivers/net/sungem.c

index be745ae8f4e39f7e6fe867564a4b2e8f20acf7cd..ade35dde5b51593638327ab5a640f995fb0c08a3 100644 (file)
 #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