diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-mv64xxx.c')
-rw-r--r-- | drivers/i2c/busses/i2c-mv64xxx.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/i2c/busses/i2c-mv64xxx.c b/drivers/i2c/busses/i2c-mv64xxx.c index a9941c65f226..4f44a33017b0 100644 --- a/drivers/i2c/busses/i2c-mv64xxx.c +++ b/drivers/i2c/busses/i2c-mv64xxx.c | |||
@@ -611,20 +611,7 @@ static struct platform_driver mv64xxx_i2c_driver = { | |||
611 | }, | 611 | }, |
612 | }; | 612 | }; |
613 | 613 | ||
614 | static int __init | 614 | module_platform_driver(mv64xxx_i2c_driver); |
615 | mv64xxx_i2c_init(void) | ||
616 | { | ||
617 | return platform_driver_register(&mv64xxx_i2c_driver); | ||
618 | } | ||
619 | |||
620 | static void __exit | ||
621 | mv64xxx_i2c_exit(void) | ||
622 | { | ||
623 | platform_driver_unregister(&mv64xxx_i2c_driver); | ||
624 | } | ||
625 | |||
626 | module_init(mv64xxx_i2c_init); | ||
627 | module_exit(mv64xxx_i2c_exit); | ||
628 | 615 | ||
629 | MODULE_AUTHOR("Mark A. Greer <mgreer@mvista.com>"); | 616 | MODULE_AUTHOR("Mark A. Greer <mgreer@mvista.com>"); |
630 | MODULE_DESCRIPTION("Marvell mv64xxx host bridge i2c ctlr driver"); | 617 | MODULE_DESCRIPTION("Marvell mv64xxx host bridge i2c ctlr driver"); |