aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-mityomapl138.c
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2010-10-12 00:55:22 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2010-10-12 11:19:13 -0400
commit8939b3504dc35224cb9c88e5af925b22ea9eee71 (patch)
tree0d25aa512b65c94d044617ff49c93bcdf5ff67d1 /arch/arm/mach-davinci/board-mityomapl138.c
parent156a0f8ecb05bae53f1652ddb151c74315a615fb (diff)
davinci: mityomapl138: make file local data static
Most of the regulator data structures are local to the board file, but not made static. Fix this. Also make the nand partition table static. This gets rid of all the sparse warnings for this file. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-mityomapl138.c')
-rw-r--r--arch/arm/mach-davinci/board-mityomapl138.c14
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 */
96struct regulator_consumer_supply tps65023_dcdc1_consumers[] = { 96static 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 */
103struct regulator_consumer_supply tps65023_dcdc2_consumers[] = { 103static 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 */
119struct regulator_consumer_supply tps65023_dcdc3_consumers[] = { 119static 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 */
135struct regulator_consumer_supply tps65023_ldo1_consumers[] = { 135static 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 */
142struct regulator_consumer_supply tps65023_ldo2_consumers[] = { 142static struct regulator_consumer_supply tps65023_ldo2_consumers[] = {
143 { 143 {
144 .supply = "vccaux", 144 .supply = "vccaux",
145 }, 145 },
146}; 146};
147 147
148struct regulator_init_data tps65023_regulator_data[] = { 148static 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 */
229struct mtd_partition mityomapl138_nandflash_partition[] = { 229static struct mtd_partition mityomapl138_nandflash_partition[] = {
230 { 230 {
231 .name = "rootfs", 231 .name = "rootfs",
232 .offset = 0, 232 .offset = 0,