diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:25:09 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 15:21:40 -0500 |
commit | a73e5df16b52a12f5210b20484e74c45ae25d04c (patch) | |
tree | 8299e52233bc63e8c560f73b73cfbd987d50114b /drivers/mfd | |
parent | a9e9ce4c41672cf3f6fcb1288bfd6b26c1f2a917 (diff) |
mfd: remove use of __devinitconst
CONFIG_HOTPLUG is going away as an option so __devinitconst is no
longer needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/ab3100-core.c | 5 | ||||
-rw-r--r-- | drivers/mfd/sta2x11-mfd.c | 10 | ||||
-rw-r--r-- | drivers/mfd/timberdale.c | 24 | ||||
-rw-r--r-- | drivers/mfd/wm8994-core.c | 6 |
4 files changed, 22 insertions, 23 deletions
diff --git a/drivers/mfd/ab3100-core.c b/drivers/mfd/ab3100-core.c index 84b2303bc770..bf188bc98986 100644 --- a/drivers/mfd/ab3100-core.c +++ b/drivers/mfd/ab3100-core.c | |||
@@ -661,8 +661,7 @@ struct ab3100_init_setting { | |||
661 | u8 setting; | 661 | u8 setting; |
662 | }; | 662 | }; |
663 | 663 | ||
664 | static const struct ab3100_init_setting __devinitconst | 664 | static const struct ab3100_init_setting ab3100_init_settings[] = { |
665 | ab3100_init_settings[] = { | ||
666 | { | 665 | { |
667 | .abreg = AB3100_MCA, | 666 | .abreg = AB3100_MCA, |
668 | .setting = 0x01 | 667 | .setting = 0x01 |
@@ -803,7 +802,7 @@ struct ab_family_id { | |||
803 | char *name; | 802 | char *name; |
804 | }; | 803 | }; |
805 | 804 | ||
806 | static const struct ab_family_id ids[] __devinitconst = { | 805 | static const struct ab_family_id ids[] = { |
807 | /* AB3100 */ | 806 | /* AB3100 */ |
808 | { | 807 | { |
809 | .id = 0xc0, | 808 | .id = 0xc0, |
diff --git a/drivers/mfd/sta2x11-mfd.c b/drivers/mfd/sta2x11-mfd.c index 1438be54170c..57f3361d0cb0 100644 --- a/drivers/mfd/sta2x11-mfd.c +++ b/drivers/mfd/sta2x11-mfd.c | |||
@@ -305,7 +305,7 @@ enum bar1_cells { | |||
305 | .flags = IORESOURCE_MEM, \ | 305 | .flags = IORESOURCE_MEM, \ |
306 | } | 306 | } |
307 | 307 | ||
308 | static const __devinitconst struct resource gpio_resources[] = { | 308 | static const struct resource gpio_resources[] = { |
309 | { | 309 | { |
310 | .name = "sta2x11_gpio", /* 4 consecutive cells, 1 driver */ | 310 | .name = "sta2x11_gpio", /* 4 consecutive cells, 1 driver */ |
311 | .start = 0, | 311 | .start = 0, |
@@ -313,17 +313,17 @@ static const __devinitconst struct resource gpio_resources[] = { | |||
313 | .flags = IORESOURCE_MEM, | 313 | .flags = IORESOURCE_MEM, |
314 | } | 314 | } |
315 | }; | 315 | }; |
316 | static const __devinitconst struct resource sctl_resources[] = { | 316 | static const struct resource sctl_resources[] = { |
317 | CELL_4K("sta2x11-sctl", STA2X11_SCTL), | 317 | CELL_4K("sta2x11-sctl", STA2X11_SCTL), |
318 | }; | 318 | }; |
319 | static const __devinitconst struct resource scr_resources[] = { | 319 | static const struct resource scr_resources[] = { |
320 | CELL_4K("sta2x11-scr", STA2X11_SCR), | 320 | CELL_4K("sta2x11-scr", STA2X11_SCR), |
321 | }; | 321 | }; |
322 | static const __devinitconst struct resource time_resources[] = { | 322 | static const struct resource time_resources[] = { |
323 | CELL_4K("sta2x11-time", STA2X11_TIME), | 323 | CELL_4K("sta2x11-time", STA2X11_TIME), |
324 | }; | 324 | }; |
325 | 325 | ||
326 | static const __devinitconst struct resource apbreg_resources[] = { | 326 | static const struct resource apbreg_resources[] = { |
327 | CELL_4K("sta2x11-apbreg", STA2X11_APBREG), | 327 | CELL_4K("sta2x11-apbreg", STA2X11_APBREG), |
328 | }; | 328 | }; |
329 | 329 | ||
diff --git a/drivers/mfd/timberdale.c b/drivers/mfd/timberdale.c index 294e14dcd907..a305ac109496 100644 --- a/drivers/mfd/timberdale.c +++ b/drivers/mfd/timberdale.c | |||
@@ -89,7 +89,7 @@ timberdale_ocores_platform_data = { | |||
89 | .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) | 89 | .num_devices = ARRAY_SIZE(timberdale_i2c_board_info) |
90 | }; | 90 | }; |
91 | 91 | ||
92 | static const __devinitconst struct resource timberdale_xiic_resources[] = { | 92 | static const struct resource timberdale_xiic_resources[] = { |
93 | { | 93 | { |
94 | .start = XIICOFFSET, | 94 | .start = XIICOFFSET, |
95 | .end = XIICEND, | 95 | .end = XIICEND, |
@@ -102,7 +102,7 @@ static const __devinitconst struct resource timberdale_xiic_resources[] = { | |||
102 | }, | 102 | }, |
103 | }; | 103 | }; |
104 | 104 | ||
105 | static const __devinitconst struct resource timberdale_ocores_resources[] = { | 105 | static const struct resource timberdale_ocores_resources[] = { |
106 | { | 106 | { |
107 | .start = OCORESOFFSET, | 107 | .start = OCORESOFFSET, |
108 | .end = OCORESEND, | 108 | .end = OCORESEND, |
@@ -151,7 +151,7 @@ static struct xspi_platform_data timberdale_xspi_platform_data = { | |||
151 | */ | 151 | */ |
152 | }; | 152 | }; |
153 | 153 | ||
154 | static const __devinitconst struct resource timberdale_spi_resources[] = { | 154 | static const struct resource timberdale_spi_resources[] = { |
155 | { | 155 | { |
156 | .start = SPIOFFSET, | 156 | .start = SPIOFFSET, |
157 | .end = SPIEND, | 157 | .end = SPIEND, |
@@ -170,7 +170,7 @@ static struct ks8842_platform_data | |||
170 | .tx_dma_channel = DMA_ETH_TX | 170 | .tx_dma_channel = DMA_ETH_TX |
171 | }; | 171 | }; |
172 | 172 | ||
173 | static const __devinitconst struct resource timberdale_eth_resources[] = { | 173 | static const struct resource timberdale_eth_resources[] = { |
174 | { | 174 | { |
175 | .start = ETHOFFSET, | 175 | .start = ETHOFFSET, |
176 | .end = ETHEND, | 176 | .end = ETHEND, |
@@ -190,7 +190,7 @@ static struct timbgpio_platform_data | |||
190 | .irq_base = 200, | 190 | .irq_base = 200, |
191 | }; | 191 | }; |
192 | 192 | ||
193 | static const __devinitconst struct resource timberdale_gpio_resources[] = { | 193 | static const struct resource timberdale_gpio_resources[] = { |
194 | { | 194 | { |
195 | .start = GPIOOFFSET, | 195 | .start = GPIOOFFSET, |
196 | .end = GPIOEND, | 196 | .end = GPIOEND, |
@@ -203,7 +203,7 @@ static const __devinitconst struct resource timberdale_gpio_resources[] = { | |||
203 | }, | 203 | }, |
204 | }; | 204 | }; |
205 | 205 | ||
206 | static const __devinitconst struct resource timberdale_mlogicore_resources[] = { | 206 | static const struct resource timberdale_mlogicore_resources[] = { |
207 | { | 207 | { |
208 | .start = MLCOREOFFSET, | 208 | .start = MLCOREOFFSET, |
209 | .end = MLCOREEND, | 209 | .end = MLCOREEND, |
@@ -221,7 +221,7 @@ static const __devinitconst struct resource timberdale_mlogicore_resources[] = { | |||
221 | }, | 221 | }, |
222 | }; | 222 | }; |
223 | 223 | ||
224 | static const __devinitconst struct resource timberdale_uart_resources[] = { | 224 | static const struct resource timberdale_uart_resources[] = { |
225 | { | 225 | { |
226 | .start = UARTOFFSET, | 226 | .start = UARTOFFSET, |
227 | .end = UARTEND, | 227 | .end = UARTEND, |
@@ -234,7 +234,7 @@ static const __devinitconst struct resource timberdale_uart_resources[] = { | |||
234 | }, | 234 | }, |
235 | }; | 235 | }; |
236 | 236 | ||
237 | static const __devinitconst struct resource timberdale_uartlite_resources[] = { | 237 | static const struct resource timberdale_uartlite_resources[] = { |
238 | { | 238 | { |
239 | .start = UARTLITEOFFSET, | 239 | .start = UARTLITEOFFSET, |
240 | .end = UARTLITEEND, | 240 | .end = UARTLITEEND, |
@@ -262,7 +262,7 @@ static struct timb_video_platform_data | |||
262 | } | 262 | } |
263 | }; | 263 | }; |
264 | 264 | ||
265 | static const __devinitconst struct resource | 265 | static const struct resource |
266 | timberdale_radio_resources[] = { | 266 | timberdale_radio_resources[] = { |
267 | { | 267 | { |
268 | .start = RDSOFFSET, | 268 | .start = RDSOFFSET, |
@@ -291,7 +291,7 @@ static struct timb_radio_platform_data | |||
291 | .dsp = &timberdale_saa7706_i2c_board_info | 291 | .dsp = &timberdale_saa7706_i2c_board_info |
292 | }; | 292 | }; |
293 | 293 | ||
294 | static const __devinitconst struct resource timberdale_video_resources[] = { | 294 | static const struct resource timberdale_video_resources[] = { |
295 | { | 295 | { |
296 | .start = LOGIWOFFSET, | 296 | .start = LOGIWOFFSET, |
297 | .end = LOGIWEND, | 297 | .end = LOGIWEND, |
@@ -362,7 +362,7 @@ static struct timb_dma_platform_data timb_dma_platform_data = { | |||
362 | } | 362 | } |
363 | }; | 363 | }; |
364 | 364 | ||
365 | static const __devinitconst struct resource timberdale_dma_resources[] = { | 365 | static const struct resource timberdale_dma_resources[] = { |
366 | { | 366 | { |
367 | .start = DMAOFFSET, | 367 | .start = DMAOFFSET, |
368 | .end = DMAEND, | 368 | .end = DMAEND, |
@@ -606,7 +606,7 @@ static struct mfd_cell timberdale_cells_bar0_cfg3[] = { | |||
606 | }, | 606 | }, |
607 | }; | 607 | }; |
608 | 608 | ||
609 | static const __devinitconst struct resource timberdale_sdhc_resources[] = { | 609 | static const struct resource timberdale_sdhc_resources[] = { |
610 | /* located in bar 1 and bar 2 */ | 610 | /* located in bar 1 and bar 2 */ |
611 | { | 611 | { |
612 | .start = SDHC0OFFSET, | 612 | .start = SDHC0OFFSET, |
diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c index 46429495836d..4e2432dc49f9 100644 --- a/drivers/mfd/wm8994-core.c +++ b/drivers/mfd/wm8994-core.c | |||
@@ -374,21 +374,21 @@ static int wm8994_ldo_in_use(struct wm8994_pdata *pdata, int ldo) | |||
374 | } | 374 | } |
375 | #endif | 375 | #endif |
376 | 376 | ||
377 | static const __devinitconst struct reg_default wm8994_revc_patch[] = { | 377 | static const struct reg_default wm8994_revc_patch[] = { |
378 | { 0x102, 0x3 }, | 378 | { 0x102, 0x3 }, |
379 | { 0x56, 0x3 }, | 379 | { 0x56, 0x3 }, |
380 | { 0x817, 0x0 }, | 380 | { 0x817, 0x0 }, |
381 | { 0x102, 0x0 }, | 381 | { 0x102, 0x0 }, |
382 | }; | 382 | }; |
383 | 383 | ||
384 | static const __devinitconst struct reg_default wm8958_reva_patch[] = { | 384 | static const struct reg_default wm8958_reva_patch[] = { |
385 | { 0x102, 0x3 }, | 385 | { 0x102, 0x3 }, |
386 | { 0xcb, 0x81 }, | 386 | { 0xcb, 0x81 }, |
387 | { 0x817, 0x0 }, | 387 | { 0x817, 0x0 }, |
388 | { 0x102, 0x0 }, | 388 | { 0x102, 0x0 }, |
389 | }; | 389 | }; |
390 | 390 | ||
391 | static const __devinitconst struct reg_default wm1811_reva_patch[] = { | 391 | static const struct reg_default wm1811_reva_patch[] = { |
392 | { 0x102, 0x3 }, | 392 | { 0x102, 0x3 }, |
393 | { 0x56, 0xc07 }, | 393 | { 0x56, 0xc07 }, |
394 | { 0x5d, 0x7e }, | 394 | { 0x5d, 0x7e }, |