]> err.no Git - linux-2.6/commitdiff
[PATCH] nvidiafb: remove redundant CONFIG_PCI check
authorArthur Othieno <apgo@patchbomb.org>
Sun, 30 Jul 2006 10:04:20 +0000 (03:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:45 +0000 (13:28 -0700)
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>
drivers/video/nvidia/nvidia.c

index 9f2066f0745adbd62921e2cebb284dcc7a99869f..d0ca0d89dd2a49e659b908d7acb7dd6e76b43ecd 100644 (file)
 #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