Skip to content

Commit

Permalink
mfd: Fix annotations in da9052-core
Browse files Browse the repository at this point in the history
Device initialisation should be marked __devinit and __devinitdata.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Dec 26, 2011
1 parent f5a26f8 commit d9cba48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mfd/da9052-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ static struct resource da9052_tsi_resources[] = {
},
};

static struct mfd_cell __initdata da9052_subdev_info[] = {
static struct mfd_cell __devinitdata da9052_subdev_info[] = {
{
.name = "da9052-regulator",
.id = 1,
Expand Down Expand Up @@ -637,7 +637,7 @@ struct regmap_config da9052_regmap_config = {
};
EXPORT_SYMBOL_GPL(da9052_regmap_config);

int da9052_device_init(struct da9052 *da9052, u8 chip_id)
int __devinit da9052_device_init(struct da9052 *da9052, u8 chip_id)
{
struct da9052_pdata *pdata = da9052->dev->platform_data;
struct irq_desc *desc;
Expand Down

0 comments on commit d9cba48

Please sign in to comment.