diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-28 02:15:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 08:58:40 -0700 |
commit | 7ce3ab100e4e115ca2c4fd931844a0f1a50df406 (patch) | |
tree | 8cc06ef819aa8dd6ce89b4c34c89b9395a7e2a02 /drivers/video/riva/nv_driver.c | |
parent | affc23d11631a47d35dfd552ded8ca255c001490 (diff) | |
download | op-kernel-dev-7ce3ab100e4e115ca2c4fd931844a0f1a50df406.zip op-kernel-dev-7ce3ab100e4e115ca2c4fd931844a0f1a50df406.tar.gz |
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 <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>
Diffstat (limited to 'drivers/video/riva/nv_driver.c')
-rw-r--r-- | drivers/video/riva/nv_driver.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/video/riva/nv_driver.c b/drivers/video/riva/nv_driver.c index a110268..a118114 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) |