aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorArthur Othieno <apgo@patchbomb.org>2006-07-30 03:04:20 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-31 13:28:45 -0700
commitb1367d2a2817e6199092b43fe01c1eed3374c4e4 (patch)
treed769c5d098ac1ff34e8b4cfd579e6854ca930dae /drivers/video
parent4b755999d6e0c1d988fb448289abb6c226cd8c36 (diff)
downloadkernel_samsung_espresso10-b1367d2a2817e6199092b43fe01c1eed3374c4e4.zip
kernel_samsung_espresso10-b1367d2a2817e6199092b43fe01c1eed3374c4e4.tar.gz
kernel_samsung_espresso10-b1367d2a2817e6199092b43fe01c1eed3374c4e4.tar.bz2
[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')
-rw-r--r--drivers/video/nvidia/nvidia.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c
index 9f2066f..d0ca0d8 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