rk2928: sdk: fix gcc warning, "CONFIG_RK30_PWM_REGULATOR" is not defined
author黄涛 <huangtao@rock-chips.com>
Fri, 17 Aug 2012 14:08:08 +0000 (22:08 +0800)
committer黄涛 <huangtao@rock-chips.com>
Fri, 17 Aug 2012 14:08:08 +0000 (22:08 +0800)
arch/arm/mach-rk2928/board-rk2928-sdk.c

index 57eef7b606dec0ca6e1e934ce9633f4ba0c713a4..0eb8250559919f0db0f616a2a387f9092b5f879e 100755 (executable)
@@ -379,7 +379,7 @@ static struct platform_device device_ion = {
 };
 #endif
 
-#if CONFIG_RK30_PWM_REGULATOR
+#ifdef CONFIG_RK30_PWM_REGULATOR
 const static int pwm_voltage_map[] = {
        1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000
 };