Re: [PATCH] mfd/tps65910: fix section mismatch in linux-next

From: Mark Brown
Date: Thu Apr 26 2012 - 17:34:50 EST


On Tue, Apr 24, 2012 at 08:13:55AM -0700, Gerard Snitselaar wrote:

> -static int tps65910_i2c_probe(struct i2c_client *i2c,
> +static int __init tps65910_i2c_probe(struct i2c_client *i2c,
> const struct i2c_device_id *id)

I sent a separate fix for this earlier on - __init is the wrong
annotation here, a device init function should be marked __devinit.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/