diff options
-rw-r--r-- | arch/arm/mach-davinci/board-mityomapl138.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-davinci/board-mityomapl138.c b/arch/arm/mach-davinci/board-mityomapl138.c index 65f7501984db..194a15ff2b4a 100644 --- a/arch/arm/mach-davinci/board-mityomapl138.c +++ b/arch/arm/mach-davinci/board-mityomapl138.c | |||
@@ -93,14 +93,14 @@ static struct davinci_i2c_platform_data mityomap_i2c_0_pdata = { | |||
93 | 93 | ||
94 | /* TPS65023 voltage regulator support */ | 94 | /* TPS65023 voltage regulator support */ |
95 | /* 1.2V Core */ | 95 | /* 1.2V Core */ |
96 | struct regulator_consumer_supply tps65023_dcdc1_consumers[] = { | 96 | static struct regulator_consumer_supply tps65023_dcdc1_consumers[] = { |
97 | { | 97 | { |
98 | .supply = "cvdd", | 98 | .supply = "cvdd", |
99 | }, | 99 | }, |
100 | }; | 100 | }; |
101 | 101 | ||
102 | /* 1.8V */ | 102 | /* 1.8V */ |
103 | struct regulator_consumer_supply tps65023_dcdc2_consumers[] = { | 103 | static struct regulator_consumer_supply tps65023_dcdc2_consumers[] = { |
104 | { | 104 | { |
105 | .supply = "usb0_vdda18", | 105 | .supply = "usb0_vdda18", |
106 | }, | 106 | }, |
@@ -116,7 +116,7 @@ struct regulator_consumer_supply tps65023_dcdc2_consumers[] = { | |||
116 | }; | 116 | }; |
117 | 117 | ||
118 | /* 1.2V */ | 118 | /* 1.2V */ |
119 | struct regulator_consumer_supply tps65023_dcdc3_consumers[] = { | 119 | static struct regulator_consumer_supply tps65023_dcdc3_consumers[] = { |
120 | { | 120 | { |
121 | .supply = "sata_vdd", | 121 | .supply = "sata_vdd", |
122 | }, | 122 | }, |
@@ -132,20 +132,20 @@ struct regulator_consumer_supply tps65023_dcdc3_consumers[] = { | |||
132 | }; | 132 | }; |
133 | 133 | ||
134 | /* 1.8V Aux LDO, not used */ | 134 | /* 1.8V Aux LDO, not used */ |
135 | struct regulator_consumer_supply tps65023_ldo1_consumers[] = { | 135 | static struct regulator_consumer_supply tps65023_ldo1_consumers[] = { |
136 | { | 136 | { |
137 | .supply = "1.8v_aux", | 137 | .supply = "1.8v_aux", |
138 | }, | 138 | }, |
139 | }; | 139 | }; |
140 | 140 | ||
141 | /* FPGA VCC Aux (2.5 or 3.3) LDO */ | 141 | /* FPGA VCC Aux (2.5 or 3.3) LDO */ |
142 | struct regulator_consumer_supply tps65023_ldo2_consumers[] = { | 142 | static struct regulator_consumer_supply tps65023_ldo2_consumers[] = { |
143 | { | 143 | { |
144 | .supply = "vccaux", | 144 | .supply = "vccaux", |
145 | }, | 145 | }, |
146 | }; | 146 | }; |
147 | 147 | ||
148 | struct regulator_init_data tps65023_regulator_data[] = { | 148 | static struct regulator_init_data tps65023_regulator_data[] = { |
149 | /* dcdc1 */ | 149 | /* dcdc1 */ |
150 | { | 150 | { |
151 | .constraints = { | 151 | .constraints = { |
@@ -226,7 +226,7 @@ static int __init pmic_tps65023_init(void) | |||
226 | * MityDSP-L138 includes a 256 MByte large-page NAND flash | 226 | * MityDSP-L138 includes a 256 MByte large-page NAND flash |
227 | * (128K blocks). | 227 | * (128K blocks). |
228 | */ | 228 | */ |
229 | struct mtd_partition mityomapl138_nandflash_partition[] = { | 229 | static struct mtd_partition mityomapl138_nandflash_partition[] = { |
230 | { | 230 | { |
231 | .name = "rootfs", | 231 | .name = "rootfs", |
232 | .offset = 0, | 232 | .offset = 0, |