diff options
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-gta02.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-gta02.c b/arch/arm/mach-s3c24xx/mach-gta02.c index 6d1e0b9c5b27..27ae6877550f 100644 --- a/arch/arm/mach-s3c24xx/mach-gta02.c +++ b/arch/arm/mach-s3c24xx/mach-gta02.c | |||
@@ -154,6 +154,7 @@ static struct s3c2410_uartcfg gta02_uartcfgs[] = { | |||
154 | #define ADC_NOM_CHG_DETECT_1A 6 | 154 | #define ADC_NOM_CHG_DETECT_1A 6 |
155 | #define ADC_NOM_CHG_DETECT_USB 43 | 155 | #define ADC_NOM_CHG_DETECT_USB 43 |
156 | 156 | ||
157 | #ifdef CONFIG_PCF50633_ADC | ||
157 | static void | 158 | static void |
158 | gta02_configure_pmu_for_charger(struct pcf50633 *pcf, void *unused, int res) | 159 | gta02_configure_pmu_for_charger(struct pcf50633 *pcf, void *unused, int res) |
159 | { | 160 | { |
@@ -174,6 +175,7 @@ gta02_configure_pmu_for_charger(struct pcf50633 *pcf, void *unused, int res) | |||
174 | 175 | ||
175 | pcf50633_mbc_usb_curlim_set(pcf, ma); | 176 | pcf50633_mbc_usb_curlim_set(pcf, ma); |
176 | } | 177 | } |
178 | #endif | ||
177 | 179 | ||
178 | static struct delayed_work gta02_charger_work; | 180 | static struct delayed_work gta02_charger_work; |
179 | static int gta02_usb_vbus_draw; | 181 | static int gta02_usb_vbus_draw; |