Skip to contentSkip to conversation

video/logo: Remove MIPS-specific include section

PATCH In review Geert Uytterhoeven 3 participants 3 messages Nov 4, 2013 – Jan 10, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 video/logo: Remove MIPS-specific include section

Since commit 41702d9a4fffa9e25b2ad9d4af09b3013fa155e1 ("logo.c: get rid of mips_machgroup") there's no longer a need to include <asm/bootinfo.h> on MIPS.

---
 drivers/video/logo/logo.c |    4 ----
 1 file changed, 4 deletions(-)
drivers/video/logo/logo.c +0 -4
index 080c35b34bbb..b670cbda38e3 100644
@@ -17,10 +17,6 @@
 #include <asm/setup.h>
 #endif
 
-#ifdef CONFIG_MIPS
-#include <asm/bootinfo.h>
-#endif
-
 static bool nologo;
 module_param(nologo, bool, 0);
 MODULE_PARM_DESC(nologo, "Disables startup logo");
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Geert Uytterhoeven

Since commit 41702d9a4fffa9e25b2ad9d4af09b3013fa155e1 ("logo.c: get rid of mips_machgroup") there's no longer a need to include <asm/bootinfo.h> on MIPS.

Yes,

Generally CONFIG_<ARCH> should probably be considered a bug even if only it's used to hide crap like this.

Ralf

#2 lore raw
In reply to Geert Uytterhoeven
Quoted 15 lines · Geert Uytterhoeven

Since commit 41702d9a4fffa9e25b2ad9d4af09b3013fa155e1 ("logo.c: get rid of mips_machgroup") there's no longer a need to include <asm/bootinfo.h> on MIPS.

---
 drivers/video/logo/logo.c |    4 ----
 1 file changed, 4 deletions(-)
drivers/video/logo/logo.c +0 -0
index 080c35b34bbb..b670cbda38e3 100644

drivers/video/logo/logo.c line 22

Quoted 10 lines
drivers/video/logo/logo.c +0 -4
@@ -17,10 +17,6 @@
 #include <asm/setup.h>
 #endif
 
-#ifdef CONFIG_MIPS
-#include <asm/bootinfo.h>
-#endif
-
 static bool nologo;
 module_param(nologo, bool, 0);
 MODULE_PARM_DESC(nologo, "Disables startup logo");

Queued for 3.14.

Tomi