From: Jiri Kosina Date: Fri, 29 Jul 2011 15:31:16 +0000 (+0200) Subject: sungem: fix compile failure caused by trivial #include consolidation X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5903417cd66d87a126f5cf27a846fc0985093f06;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Jiri Kosina --- 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 @@ #include #include #include -#include #ifdef CONFIG_SPARC #include +#include #endif #ifdef CONFIG_PPC_PMAC #include +#include #include #include #endif