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

From: Gerard Snitselaar
Date: Tue Apr 24 2012 - 11:14:08 EST


tps65910_i2c_probe() calls tps65910_sleepinit() which is annnotated __init.

Signed-off-by: Gerard Snitselaar <dev@xxxxxxxxxxxxxx>
---
drivers/mfd/tps65910.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c
index ae7f47b..c050ae5 100644
--- a/drivers/mfd/tps65910.c
+++ b/drivers/mfd/tps65910.c
@@ -150,7 +150,7 @@ err_sleep_init:
}


-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)
{
struct tps65910 *tps65910;
--
1.7.7.6

--
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/