diff options
author | Philippe Langlais <philippe.langlais@linaro.org> | 2011-12-05 11:28:28 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:06:08 +0200 |
commit | 945dcdf5c9fd7e2406efd69de71d6ac6b0c1505b (patch) | |
tree | 734a1bf5ab366fc4e8c88cdc6c633c3b1b0e5443 | |
parent | 0e786029c4315c9da329236705f4e4b63a49458c (diff) |
mach-ux500: sensors: Add __init directive for mop500_sensors_init()
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-sensors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-sensors.c b/arch/arm/mach-ux500/board-mop500-sensors.c index d546eb1be93..bc08e332699 100644 --- a/arch/arm/mach-ux500/board-mop500-sensors.c +++ b/arch/arm/mach-ux500/board-mop500-sensors.c @@ -146,7 +146,7 @@ void mop500_sensors_probe_add_lsm303dlh_a(void) i2c_put_adapter(adap); } -static int mop500_sensors_init(void) +static int __init mop500_sensors_init(void) { if (!machine_is_snowball() && !uib_is_stuib()) |