[PATCH] fbdev: Remove duplicate #include's
Remove unneeded duplicate #include's of the same header file. In the case of fbmon.c linux/pci.h is now #include'd unconditional, but this should be safe. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
31c5cdba69
commit
22f4a00fd5
@@ -29,9 +29,9 @@
|
||||
#include <linux/tty.h>
|
||||
#include <linux/fb.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/pci.h>
|
||||
#include <video/edid.h>
|
||||
#ifdef CONFIG_PPC_OF
|
||||
#include <linux/pci.h>
|
||||
#include <asm/prom.h>
|
||||
#include <asm/pci-bridge.h>
|
||||
#endif
|
||||
@@ -1282,7 +1282,6 @@ int fb_validate_mode(const struct fb_var_screeninfo *var, struct fb_info *info)
|
||||
}
|
||||
|
||||
#if defined(CONFIG_FB_FIRMWARE_EDID) && defined(__i386__)
|
||||
#include <linux/pci.h>
|
||||
|
||||
/*
|
||||
* We need to ensure that the EDID block is only returned for
|
||||
|
Reference in New Issue
Block a user