diff options
| -rw-r--r-- | drivers/platform/x86/apple-gmux.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/platform/x86/apple-gmux.c b/drivers/platform/x86/apple-gmux.c index b9429fbf1cd8..66d6d22c239c 100644 --- a/drivers/platform/x86/apple-gmux.c +++ b/drivers/platform/x86/apple-gmux.c | |||
| @@ -624,19 +624,7 @@ static struct pnp_driver gmux_pnp_driver = { | |||
| 624 | }, | 624 | }, |
| 625 | }; | 625 | }; |
| 626 | 626 | ||
| 627 | static int __init apple_gmux_init(void) | 627 | module_pnp_driver(gmux_pnp_driver); |
| 628 | { | ||
| 629 | return pnp_register_driver(&gmux_pnp_driver); | ||
| 630 | } | ||
| 631 | |||
| 632 | static void __exit apple_gmux_exit(void) | ||
| 633 | { | ||
| 634 | pnp_unregister_driver(&gmux_pnp_driver); | ||
| 635 | } | ||
| 636 | |||
| 637 | module_init(apple_gmux_init); | ||
| 638 | module_exit(apple_gmux_exit); | ||
| 639 | |||
| 640 | MODULE_AUTHOR("Seth Forshee <seth.forshee@canonical.com>"); | 628 | MODULE_AUTHOR("Seth Forshee <seth.forshee@canonical.com>"); |
| 641 | MODULE_DESCRIPTION("Apple Gmux Driver"); | 629 | MODULE_DESCRIPTION("Apple Gmux Driver"); |
| 642 | MODULE_LICENSE("GPL"); | 630 | MODULE_LICENSE("GPL"); |
