[PATCH] fix warning of TANBAC_TB0219 in drivers/char/Kconfig
authorYoichi Yuasa <yuasa@hh.iij4u.or.jp>
Sat, 3 Sep 2005 22:56:14 +0000 (15:56 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:04 +0000 (00:06 -0700)
$ make menuconfig
scripts/kconfig/mconf arch/i386/Kconfig
drivers/char/Kconfig:847:warning: 'select' used by config symbol
'TANBAC_TB0219' refer to undefined symbol 'PCI_VR41XX'

Here is a patch for this warning fix.

Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/mips/Kconfig
drivers/char/Kconfig

index a83bc666e7ed101e80cc68aa84b1ef0956294204..516a380f321894e6def9cb5eedc82b1ff0af7323 100644 (file)
@@ -80,8 +80,6 @@ config NEC_CMBVR4133
        select DMA_NONCOHERENT
        select IRQ_CPU
        select HW_HAS_PCI
-       select PCI
-       select PCI_VR41XX
 
 config ROCKHOPPER
        bool "Support for Rockhopper baseboard"
@@ -122,8 +120,6 @@ config TANBAC_TB022X
 config TANBAC_TB0226
        bool "Support for TANBAC Mbase(TB0226)"
        depends on TANBAC_TB022X
-       select PCI
-       select PCI_VR41XX
        select GPIO_VR41XX
        help
          The TANBAC Mbase(TB0226) is a MIPS-based platform manufactured by TANBAC.
@@ -136,8 +132,6 @@ config VICTOR_MPC30X
        select DMA_NONCOHERENT
        select IRQ_CPU
        select HW_HAS_PCI
-       select PCI
-       select PCI_VR41XX
 
 config ZAO_CAPCELLA
        bool "Support for ZAO Networks Capcella"
@@ -146,12 +140,12 @@ config ZAO_CAPCELLA
        select DMA_NONCOHERENT
        select IRQ_CPU
        select HW_HAS_PCI
-       select PCI
-       select PCI_VR41XX
 
 config PCI_VR41XX
        bool "Add PCI control unit support of NEC VR4100 series"
-       depends on MACH_VR41XX && PCI
+       depends on MACH_VR41XX && HW_HAS_PCI
+       default y
+       select PCI
 
 config VRC4171
        tristate "Add NEC VRC4171 companion chip support"
index 116a7b185999be5f774c98c2499f901f23e554bd..f418f45e07800e2f8d832221139bc54acfb1a9ca 100644 (file)
@@ -843,8 +843,6 @@ config SONYPI
 config TANBAC_TB0219
        tristate "TANBAC TB0219 base board support"
        depends TANBAC_TB022X
-       select PCI
-       select PCI_VR41XX
 
 menu "Ftape, the floppy tape device driver"