Skip to contentSkip to conversation

nvidiafb: remove redundant CONFIG_PCI check

PATCH New Arthur Othieno 1 participant 1 message Jul 21, 2006 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/video/nvidia/nvidia.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
drivers/video/nvidia/nvidia.c +0 -4
index 9f2066f..d0ca0d8 100644
@@ -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