diff options
author | Arthur Othieno <apgo@patchbomb.org> | 2006-07-30 12:04:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-31 22:28:45 +0200 |
commit | b1367d2a2817e6199092b43fe01c1eed3374c4e4 (patch) | |
tree | d769c5d098ac1ff34e8b4cfd579e6854ca930dae /drivers/video/nvidia | |
parent | [PATCH] powermac: More powermac backlight fixes (diff) | |
download | linux-b1367d2a2817e6199092b43fe01c1eed3374c4e4.tar.xz linux-b1367d2a2817e6199092b43fe01c1eed3374c4e4.zip |
[PATCH] nvidiafb: remove redundant CONFIG_PCI check
CONFIG_FB_NVIDIA already depends on CONFIG_PCI in drivers/video/Kconfig.
Driver does an extra ``sanity check'' which is then redundant.
Signed-off-by: Arthur Othieno <apgo@patchbomb.org>
Cc: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/nvidia')
-rw-r--r-- | drivers/video/nvidia/nvidia.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c index 9f2066f0745a..d0ca0d89dd2a 100644 --- a/drivers/video/nvidia/nvidia.c +++ b/drivers/video/nvidia/nvidia.c @@ -34,10 +34,6 @@ #include "nv_proto.h" #include "nv_dma.h" -#ifndef CONFIG_PCI /* sanity check */ -#error This driver requires PCI support. -#endif - #undef CONFIG_FB_NVIDIA_DEBUG #ifdef CONFIG_FB_NVIDIA_DEBUG #define NVTRACE printk |