DS975: change BATTERY_RK30_ADC to BATTERY_RK30_ADC_FAC
authorhhb <hhb@rock-chips.com>
Thu, 20 Dec 2012 02:05:11 +0000 (10:05 +0800)
committerhhb <hhb@rock-chips.com>
Thu, 20 Dec 2012 02:05:11 +0000 (10:05 +0800)
arch/arm/configs/rk30_ds975_defconfig
arch/arm/mach-rk30/board-rk30-ds975.c

index fdb82b376cf0a3a8c5830e10a80aafefb6d7a95e..570826bd840b099b72b9b50fd311d891fd6e5ce2 100644 (file)
@@ -281,8 +281,9 @@ CONFIG_SPI_FPGA_GPIO_NUM=0
 CONFIG_SPI_FPGA_GPIO_IRQ_NUM=0
 CONFIG_POWER_SUPPLY=y
 CONFIG_TEST_POWER=y
-CONFIG_BATTERY_RK30_ADC=y
+CONFIG_BATTERY_RK30_ADC_FAC=y
 CONFIG_BATTERY_RK30_AC_CHARGE=y
+CONFIG_BATTERY_RK30_VOL3V8=y
 # CONFIG_HWMON is not set
 CONFIG_MFD_WM831X_I2C=y
 CONFIG_REGULATOR=y
index c20995dc6a9d6ba6d364716890b42a85ae8c9772..0cdeb8926789f3143e2c22c2fa10e246a7e8dea7 100755 (executable)
@@ -1609,7 +1609,7 @@ struct rk29_sdmmc_platform_data default_sdmmc1_data = {
  * the end of setting for SDMMC devices
 **************************************************************************************************/
 
-#ifdef CONFIG_BATTERY_RK30_ADC
+#ifdef CONFIG_BATTERY_RK30_ADC_FAC
 static struct rk30_adc_battery_platform_data rk30_adc_battery_platdata = {
         .dc_det_pin      = RK30_PIN6_PA5,
         .batt_low_pin    = RK30_PIN6_PA0,
@@ -1739,7 +1739,7 @@ static struct platform_device *devices[] __initdata = {
 #ifdef CONFIG_RFKILL_RK
        &device_rfkill_rk,
 #endif
-#ifdef CONFIG_BATTERY_RK30_ADC
+#ifdef CONFIG_BATTERY_RK30_ADC_FAC
        &rk30_device_adc_battery,
 #endif
 #ifdef CONFIG_BATTERY_RK29_ADC