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>
This commit is contained in:
Tobias Klauser 2010-05-20 10:39:00 +02:00 committed by Samuel Ortiz
parent 28ade0f217
commit ae9f52f05c

View File

@ -86,7 +86,7 @@ timberdale_ocores_platform_data = {
.num_devices = ARRAY_SIZE(timberdale_i2c_board_info) .num_devices = ARRAY_SIZE(timberdale_i2c_board_info)
}; };
const static __devinitconst struct resource timberdale_xiic_resources[] = { static const __devinitconst struct resource timberdale_xiic_resources[] = {
{ {
.start = XIICOFFSET, .start = XIICOFFSET,
.end = XIICEND, .end = XIICEND,
@ -99,7 +99,7 @@ const static __devinitconst struct resource timberdale_xiic_resources[] = {
}, },
}; };
const static __devinitconst struct resource timberdale_ocores_resources[] = { static const __devinitconst struct resource timberdale_ocores_resources[] = {
{ {
.start = OCORESOFFSET, .start = OCORESOFFSET,
.end = OCORESEND, .end = OCORESEND,
@ -148,7 +148,7 @@ static __devinitdata struct xspi_platform_data timberdale_xspi_platform_data = {
*/ */
}; };
const static __devinitconst struct resource timberdale_spi_resources[] = { static const __devinitconst struct resource timberdale_spi_resources[] = {
{ {
.start = SPIOFFSET, .start = SPIOFFSET,
.end = SPIEND, .end = SPIEND,
@ -161,7 +161,7 @@ const static __devinitconst struct resource timberdale_spi_resources[] = {
}, },
}; };
const static __devinitconst struct resource timberdale_eth_resources[] = { static const __devinitconst struct resource timberdale_eth_resources[] = {
{ {
.start = ETHOFFSET, .start = ETHOFFSET,
.end = ETHEND, .end = ETHEND,
@ -181,7 +181,7 @@ static __devinitdata struct timbgpio_platform_data
.irq_base = 200, .irq_base = 200,
}; };
const static __devinitconst struct resource timberdale_gpio_resources[] = { static const __devinitconst struct resource timberdale_gpio_resources[] = {
{ {
.start = GPIOOFFSET, .start = GPIOOFFSET,
.end = GPIOEND, .end = GPIOEND,
@ -194,7 +194,7 @@ const static __devinitconst struct resource timberdale_gpio_resources[] = {
}, },
}; };
const static __devinitconst struct resource timberdale_mlogicore_resources[] = { static const __devinitconst struct resource timberdale_mlogicore_resources[] = {
{ {
.start = MLCOREOFFSET, .start = MLCOREOFFSET,
.end = MLCOREEND, .end = MLCOREEND,
@ -212,7 +212,7 @@ const static __devinitconst struct resource timberdale_mlogicore_resources[] = {
}, },
}; };
const static __devinitconst struct resource timberdale_uart_resources[] = { static const __devinitconst struct resource timberdale_uart_resources[] = {
{ {
.start = UARTOFFSET, .start = UARTOFFSET,
.end = UARTEND, .end = UARTEND,
@ -225,7 +225,7 @@ const static __devinitconst struct resource timberdale_uart_resources[] = {
}, },
}; };
const static __devinitconst struct resource timberdale_uartlite_resources[] = { static const __devinitconst struct resource timberdale_uartlite_resources[] = {
{ {
.start = UARTLITEOFFSET, .start = UARTLITEOFFSET,
.end = UARTLITEEND, .end = UARTLITEEND,
@ -238,7 +238,7 @@ const static __devinitconst struct resource timberdale_uartlite_resources[] = {
}, },
}; };
const static __devinitconst struct resource timberdale_radio_resources[] = { static const __devinitconst struct resource timberdale_radio_resources[] = {
{ {
.start = RDSOFFSET, .start = RDSOFFSET,
.end = RDSEND, .end = RDSEND,
@ -331,7 +331,7 @@ static __devinitdata struct timb_dma_platform_data timb_dma_platform_data = {
} }
}; };
const static __devinitconst struct resource timberdale_dma_resources[] = { static const __devinitconst struct resource timberdale_dma_resources[] = {
{ {
.start = DMAOFFSET, .start = DMAOFFSET,
.end = DMAEND, .end = DMAEND,