dect
/
linux-2.6
Archived
13
0
Fork 0

[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>
This commit is contained in:
Arthur Othieno 2006-07-30 03:04:20 -07:00 committed by Linus Torvalds
parent 4b755999d6
commit b1367d2a28
1 changed files with 0 additions and 4 deletions

View File

@ -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