diff options
Diffstat (limited to 'drivers/gpio/max732x.c')
-rw-r--r-- | drivers/gpio/max732x.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpio/max732x.c b/drivers/gpio/max732x.c index b51c8135ca28..55ae9a41897a 100644 --- a/drivers/gpio/max732x.c +++ b/drivers/gpio/max732x.c | |||
@@ -372,7 +372,10 @@ static int __init max732x_init(void) | |||
372 | { | 372 | { |
373 | return i2c_add_driver(&max732x_driver); | 373 | return i2c_add_driver(&max732x_driver); |
374 | } | 374 | } |
375 | module_init(max732x_init); | 375 | /* register after i2c postcore initcall and before |
376 | * subsys initcalls that may rely on these GPIOs | ||
377 | */ | ||
378 | subsys_initcall(max732x_init); | ||
376 | 379 | ||
377 | static void __exit max732x_exit(void) | 380 | static void __exit max732x_exit(void) |
378 | { | 381 | { |