aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-05-20 04:39:00 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2010-05-27 19:38:01 -0400
commitae9f52f05c8223c8b4e18b042febf7a7bb46332a (patch)
tree4f0a93d6e7492a7414233447be332915880601bf /drivers
parent28ade0f217a3a3ff992b01e06e6e425c250a8406 (diff)
mfd: Storage class for timberdale should be before const qualifier
The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/timberdale.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/mfd/timberdale.c b/drivers/mfd/timberdale.c
index 2d4691acd033..ac5995026c88 100644
--- a/drivers/mfd/timberdale.c
+++ b/drivers/mfd/timberdale.c
@@ -86,7 +86,7 @@ timberdale_ocores_platform_data = {
86 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) 86 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info)
87}; 87};
88 88
89const static __devinitconst struct resource timberdale_xiic_resources[] = { 89static const __devinitconst struct resource timberdale_xiic_resources[] = {
90 { 90 {
91 .start = XIICOFFSET, 91 .start = XIICOFFSET,
92 .end = XIICEND, 92 .end = XIICEND,
@@ -99,7 +99,7 @@ const static __devinitconst struct resource timberdale_xiic_resources[] = {
99 }, 99 },
100}; 100};
101 101
102const static __devinitconst struct resource timberdale_ocores_resources[] = { 102static const __devinitconst struct resource timberdale_ocores_resources[] = {
103 { 103 {
104 .start = OCORESOFFSET, 104 .start = OCORESOFFSET,
105 .end = OCORESEND, 105 .end = OCORESEND,
@@ -148,7 +148,7 @@ static __devinitdata struct xspi_platform_data timberdale_xspi_platform_data = {
148 */ 148 */
149}; 149};
150 150
151const static __devinitconst struct resource timberdale_spi_resources[] = { 151static const __devinitconst struct resource timberdale_spi_resources[] = {
152 { 152 {
153 .start = SPIOFFSET, 153 .start = SPIOFFSET,
154 .end = SPIEND, 154 .end = SPIEND,
@@ -161,7 +161,7 @@ const static __devinitconst struct resource timberdale_spi_resources[] = {
161 }, 161 },
162}; 162};
163 163
164const static __devinitconst struct resource timberdale_eth_resources[] = { 164static const __devinitconst struct resource timberdale_eth_resources[] = {
165 { 165 {
166 .start = ETHOFFSET, 166 .start = ETHOFFSET,
167 .end = ETHEND, 167 .end = ETHEND,
@@ -181,7 +181,7 @@ static __devinitdata struct timbgpio_platform_data
181 .irq_base = 200, 181 .irq_base = 200,
182}; 182};
183 183
184const static __devinitconst struct resource timberdale_gpio_resources[] = { 184static const __devinitconst struct resource timberdale_gpio_resources[] = {
185 { 185 {
186 .start = GPIOOFFSET, 186 .start = GPIOOFFSET,
187 .end = GPIOEND, 187 .end = GPIOEND,
@@ -194,7 +194,7 @@ const static __devinitconst struct resource timberdale_gpio_resources[] = {
194 }, 194 },
195}; 195};
196 196
197const static __devinitconst struct resource timberdale_mlogicore_resources[] = { 197static const __devinitconst struct resource timberdale_mlogicore_resources[] = {
198 { 198 {
199 .start = MLCOREOFFSET, 199 .start = MLCOREOFFSET,
200 .end = MLCOREEND, 200 .end = MLCOREEND,
@@ -212,7 +212,7 @@ const static __devinitconst struct resource timberdale_mlogicore_resources[] = {
212 }, 212 },
213}; 213};
214 214
215const static __devinitconst struct resource timberdale_uart_resources[] = { 215static const __devinitconst struct resource timberdale_uart_resources[] = {
216 { 216 {
217 .start = UARTOFFSET, 217 .start = UARTOFFSET,
218 .end = UARTEND, 218 .end = UARTEND,
@@ -225,7 +225,7 @@ const static __devinitconst struct resource timberdale_uart_resources[] = {
225 }, 225 },
226}; 226};
227 227
228const static __devinitconst struct resource timberdale_uartlite_resources[] = { 228static const __devinitconst struct resource timberdale_uartlite_resources[] = {
229 { 229 {
230 .start = UARTLITEOFFSET, 230 .start = UARTLITEOFFSET,
231 .end = UARTLITEEND, 231 .end = UARTLITEEND,
@@ -238,7 +238,7 @@ const static __devinitconst struct resource timberdale_uartlite_resources[] = {
238 }, 238 },
239}; 239};
240 240
241const static __devinitconst struct resource timberdale_radio_resources[] = { 241static const __devinitconst struct resource timberdale_radio_resources[] = {
242 { 242 {
243 .start = RDSOFFSET, 243 .start = RDSOFFSET,
244 .end = RDSEND, 244 .end = RDSEND,
@@ -331,7 +331,7 @@ static __devinitdata struct timb_dma_platform_data timb_dma_platform_data = {
331 } 331 }
332}; 332};
333 333
334const static __devinitconst struct resource timberdale_dma_resources[] = { 334static const __devinitconst struct resource timberdale_dma_resources[] = {
335 { 335 {
336 .start = DMAOFFSET, 336 .start = DMAOFFSET,
337 .end = DMAEND, 337 .end = DMAEND,