nvidiafb: remove redundant CONFIG_PCI check
PATCH 1/1 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 <[email protected]>
Cc Antonino Daplas <[email protected]>
--- drivers/video/nvidia/nvidia.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
drivers/video/nvidia/nvidia.c +0 -4
@@ -34,10 +34,6 @@ #include "nv_type.h"#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
Signature · 8 lines
1.4.0 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV