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

From: Stephen Warren
Date: Tue Apr 24 2012 - 12:16:03 EST


On 04/24/2012 09:13 AM, Gerard Snitselaar wrote:
> tps65910_i2c_probe() calls tps65910_sleepinit() which is annnotated __init.

> -static int tps65910_i2c_probe(struct i2c_client *i2c,
> +static int __init tps65910_i2c_probe(struct i2c_client *i2c,

Shouldn't this be __devinit not __init?
--
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/