diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-26 10:49:48 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-26 10:52:23 -0500 |
commit | d9cba48358d858a1edea877d7b7b0bce58cee850 (patch) | |
tree | 924b3cd76477d40aff05ce4ea919fc34e9c5b4a8 /drivers/mfd/da9052-core.c | |
parent | f5a26f8915779cf548481d64c7ea1ed5529bdbfe (diff) |
mfd: Fix annotations in da9052-core
Device initialisation should be marked __devinit and __devinitdata.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/mfd/da9052-core.c')
-rw-r--r-- | drivers/mfd/da9052-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/da9052-core.c b/drivers/mfd/da9052-core.c index a7c115ca56c8..2a5e27168cac 100644 --- a/drivers/mfd/da9052-core.c +++ b/drivers/mfd/da9052-core.c | |||
@@ -383,7 +383,7 @@ static struct resource da9052_tsi_resources[] = { | |||
383 | }, | 383 | }, |
384 | }; | 384 | }; |
385 | 385 | ||
386 | static struct mfd_cell __initdata da9052_subdev_info[] = { | 386 | static struct mfd_cell __devinitdata da9052_subdev_info[] = { |
387 | { | 387 | { |
388 | .name = "da9052-regulator", | 388 | .name = "da9052-regulator", |
389 | .id = 1, | 389 | .id = 1, |
@@ -637,7 +637,7 @@ struct regmap_config da9052_regmap_config = { | |||
637 | }; | 637 | }; |
638 | EXPORT_SYMBOL_GPL(da9052_regmap_config); | 638 | EXPORT_SYMBOL_GPL(da9052_regmap_config); |
639 | 639 | ||
640 | int da9052_device_init(struct da9052 *da9052, u8 chip_id) | 640 | int __devinit da9052_device_init(struct da9052 *da9052, u8 chip_id) |
641 | { | 641 | { |
642 | struct da9052_pdata *pdata = da9052->dev->platform_data; | 642 | struct da9052_pdata *pdata = da9052->dev->platform_data; |
643 | struct irq_desc *desc; | 643 | struct irq_desc *desc; |