projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6214df8
)
rk30: sdk: fix gcc warning, "CONFIG_RK30_PWM_REGULATOR" is not defined
author
黄涛
<huangtao@rock-chips.com>
Fri, 17 Aug 2012 14:08:24 +0000
(22:08 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 17 Aug 2012 14:08:24 +0000
(22:08 +0800)
arch/arm/mach-rk30/board-rk30-sdk.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/board-rk30-sdk.c
b/arch/arm/mach-rk30/board-rk30-sdk.c
index e168aa134d87e7241e1c0bd1d0e2d4967ceb8bfc..4d3ebcd6080267192396087515125546285052b0 100755
(executable)
--- a/
arch/arm/mach-rk30/board-rk30-sdk.c
+++ b/
arch/arm/mach-rk30/board-rk30-sdk.c
@@
-1402,7
+1402,7
@@
static struct platform_device rk30_device_adc_battery = {
};
#endif
-#if CONFIG_RK30_PWM_REGULATOR
+#if
def
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
};