From 5903417cd66d87a126f5cf27a846fc0985093f06 Mon Sep 17 00:00:00 2001 From: Jiri Kosina Date: Fri, 29 Jul 2011 17:31:16 +0200 Subject: [PATCH] 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 --- drivers/net/sungem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.20.1