diff options
author | Philippe Langlais <philippe.langlais@linaro.org> | 2011-12-05 11:28:28 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2011-12-06 11:52:34 +0100 |
commit | 23e2e0da5d084679e9839ea9d268d0171e97efe9 (patch) | |
tree | 6ea908f7c621cdc8c9b0a825d3210afa27e2efdf | |
parent | 3daac529fe8ca02a3126379e467f688ea2c7785a (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()) |