fbdev: nv: drop useless CONFIG_PCI checks
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 28 Apr 2008 09:15:33 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:40 +0000 (08:58 -0700)
Both FB_RIVA and FB_NVIDIA depends on PCI, so CONFIG_PCI always defined for
them.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Antonino A. Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/riva/fbdev.c
drivers/video/riva/nv_driver.c

index 46a9237a11e44e0740e372a7dc76d9f77262cabd..08a9b56cb575c8c402a3140c1aa19e6429480ef0 100644 (file)
 #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"
 
index a11026812d1b6d169c66ba7badd923f01bd9a051..a1181149da74f3d52e4ea4685fb51a84ba0bfeeb 100644 (file)
 #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)