From: Alexey Dobriyan Date: Mon, 28 Apr 2008 09:15:33 +0000 (-0700) Subject: fbdev: nv: drop useless CONFIG_PCI checks X-Git-Tag: v2.6.26-rc1~791 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7ce3ab100e4e115ca2c4fd931844a0f1a50df406;p=linux-2.6-omap-h63xx.git fbdev: nv: drop useless CONFIG_PCI checks Both FB_RIVA and FB_NVIDIA depends on PCI, so CONFIG_PCI always defined for them. Signed-off-by: Alexey Dobriyan Cc: Antonino A. Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c index 46a9237a11e..08a9b56cb57 100644 --- a/drivers/video/riva/fbdev.c +++ b/drivers/video/riva/fbdev.c @@ -56,10 +56,6 @@ #include "rivafb.h" #include "nvreg.h" -#ifndef CONFIG_PCI /* sanity check */ -#error This driver requires PCI support. -#endif - /* version number of this driver */ #define RIVAFB_VERSION "0.9.5b" diff --git a/drivers/video/riva/nv_driver.c b/drivers/video/riva/nv_driver.c index a11026812d1..a1181149da7 100644 --- a/drivers/video/riva/nv_driver.c +++ b/drivers/video/riva/nv_driver.c @@ -41,11 +41,6 @@ #include "rivafb.h" #include "nvreg.h" - -#ifndef CONFIG_PCI /* sanity check */ -#error This driver requires PCI support. -#endif - #define PFX "rivafb: " static inline unsigned char MISCin(struct riva_par *par)