diff options
author | Robert Rosengren <robert.rosengren@stericsson.com> | 2011-04-07 15:47:50 +0200 |
---|---|---|
committer | Robert Marklund <robert.marklund@stericsson.com> | 2011-10-05 11:19:36 +0200 |
commit | e2dc5bca185674319db508b170a4ed45c19cfb1e (patch) | |
tree | 2ad41259fbe65a18b192875b9ed63ee603a0af78 /drivers/mfd | |
parent | 53c515e7c17de38bcf7222f826412fed921c8f76 (diff) |
mfd: ab8500-core MFD devices marked as initdata
Internal MFD device structs are marked as __devinitdata since the kernel
will allocate memory for the same when calling mfd_add_devices.
ST-Ericsson ID: 332771
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I1ce3f255d827e6918e9bc351b250487777eb7ec3
Signed-off-by: Robert Rosengren <robert.rosengren@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20310
Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/ab8500-core.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index 38c8dfbc062..0f1dbf3e924 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c @@ -361,7 +361,7 @@ static void ab8500_irq_remove(struct ab8500 *ab8500) } } -static struct resource ab8500_gpio_resources[] = { +static struct resource __devinitdata ab8500_gpio_resources[] = { { .name = "GPIO_INT6", .start = AB8500_INT_GPIO6R, @@ -370,7 +370,7 @@ static struct resource ab8500_gpio_resources[] = { } }; -static struct resource ab8500_gpadc_resources[] = { +static struct resource __devinitdata ab8500_gpadc_resources[] = { { .name = "HW_CONV_END", .start = AB8500_INT_GP_HW_ADC_CONV_END, @@ -385,7 +385,7 @@ static struct resource ab8500_gpadc_resources[] = { }, }; -static struct resource ab8500_rtc_resources[] = { +static struct resource __devinitdata ab8500_rtc_resources[] = { { .name = "60S", .start = AB8500_INT_RTC_60S, @@ -400,7 +400,7 @@ static struct resource ab8500_rtc_resources[] = { }, }; -static struct resource ab8500_poweronkey_db_resources[] = { +static struct resource __devinitdata ab8500_poweronkey_db_resources[] = { { .name = "ONKEY_DBF", .start = AB8500_INT_PON_KEY1DB_F, @@ -415,7 +415,7 @@ static struct resource ab8500_poweronkey_db_resources[] = { }, }; -static struct resource ab8500_av_acc_detect_resources[] = { +static struct resource __devinitdata ab8500_av_acc_detect_resources[] = { { .name = "ACC_DETECT_1DB_F", .start = AB8500_INT_ACC_DETECT_1DB_F, @@ -454,7 +454,7 @@ static struct resource ab8500_av_acc_detect_resources[] = { }, }; -static struct resource ab8500_charger_resources[] = { +static struct resource __devinitdata ab8500_charger_resources[] = { { .name = "MAIN_CH_UNPLUG_DET", .start = AB8500_INT_MAIN_CH_UNPLUG_DET, @@ -547,7 +547,7 @@ static struct resource ab8500_charger_resources[] = { }, }; -static struct resource ab8500_btemp_resources[] = { +static struct resource __devinitdata ab8500_btemp_resources[] = { { .name = "BAT_CTRL_INDB", .start = AB8500_INT_BAT_CTRL_INDB, @@ -580,7 +580,7 @@ static struct resource ab8500_btemp_resources[] = { }, }; -static struct resource ab8500_fg_resources[] = { +static struct resource __devinitdata ab8500_fg_resources[] = { { .name = "NCONV_ACCU", .start = AB8500_INT_CCN_CONV_ACC, @@ -613,9 +613,9 @@ static struct resource ab8500_fg_resources[] = { }, }; -static struct resource ab8500_chargalg_resources[] = {}; +static struct resource __devinitdata ab8500_chargalg_resources[] = {}; -static struct resource ab8500_debug_resources[] = { +static struct resource __devinitdata ab8500_debug_resources[] = { { .name = "IRQ_FIRST", .start = AB8500_INT_MAIN_EXT_CH_NOT_OK, @@ -630,7 +630,7 @@ static struct resource ab8500_debug_resources[] = { }, }; -static struct resource ab8500_usb_resources[] = { +static struct resource __devinitdata ab8500_usb_resources[] = { { .name = "ID_WAKEUP_R", .start = AB8500_INT_ID_WAKEUP_R, @@ -675,7 +675,7 @@ static struct resource ab8500_usb_resources[] = { }, }; -static struct resource ab8500_temp_resources[] = { +static struct resource __devinitdata ab8500_temp_resources[] = { { .name = "AB8500_TEMP_WARM", .start = AB8500_INT_TEMP_WARM, @@ -684,7 +684,7 @@ static struct resource ab8500_temp_resources[] = { }, }; -static struct mfd_cell ab8500_devs[] = { +static struct mfd_cell __devinitdata ab8500_devs[] = { #ifdef CONFIG_DEBUG_FS { .name = "ab8500-debug", |