adc: fix kbuild warning
author黄涛 <huangtao@rock-chips.com>
Mon, 19 Mar 2012 02:07:30 +0000 (10:07 +0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 19 Mar 2012 02:07:30 +0000 (10:07 +0800)
drivers/adc/plat/Kconfig:10:warning: defaults for choice values not supported

drivers/adc/plat/Kconfig

index cbdd09c1d15f8b6dfade299714ba31f48bf03e4d..ac0fd467e5689d913214c80856563348fe4874f4 100644 (file)
@@ -4,13 +4,12 @@
 
 choice
        prompt "ADC hardware drivers"
+       default ADC_RK29 if ARCH_RK29
+       default ADC_RK30 if ARCH_RK30
 
 config ADC_NULL
        bool "NULL"
-       default y
-       help
-               null
-       
+
 config ADC_RK28
        bool "RK28 adc interface"
         depends on ARCH_RK2818 || ARCH_RK2808 || ARCH_RK2816