diff options
| -rw-r--r-- | arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c b/arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c index 624cb51d19c9..7bc315822935 100644 --- a/arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c +++ b/arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | |||
| @@ -231,17 +231,7 @@ static struct i2c_driver mcu_driver = { | |||
| 231 | .id_table = mcu_ids, | 231 | .id_table = mcu_ids, |
| 232 | }; | 232 | }; |
| 233 | 233 | ||
| 234 | static int __init mcu_init(void) | 234 | module_i2c_driver(mcu_driver); |
| 235 | { | ||
| 236 | return i2c_add_driver(&mcu_driver); | ||
| 237 | } | ||
| 238 | module_init(mcu_init); | ||
| 239 | |||
| 240 | static void __exit mcu_exit(void) | ||
| 241 | { | ||
| 242 | i2c_del_driver(&mcu_driver); | ||
| 243 | } | ||
| 244 | module_exit(mcu_exit); | ||
| 245 | 235 | ||
| 246 | MODULE_DESCRIPTION("Power Management and GPIO expander driver for " | 236 | MODULE_DESCRIPTION("Power Management and GPIO expander driver for " |
| 247 | "MPC8349E-mITX-compatible MCU"); | 237 | "MPC8349E-mITX-compatible MCU"); |
