diff options
Diffstat (limited to 'sound/soc/sh/fsi-ak4642.c')
-rw-r--r-- | sound/soc/sh/fsi-ak4642.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sound/soc/sh/fsi-ak4642.c b/sound/soc/sh/fsi-ak4642.c index 11d2d7ff29d9..eb52778d0f90 100644 --- a/sound/soc/sh/fsi-ak4642.c +++ b/sound/soc/sh/fsi-ak4642.c | |||
@@ -100,18 +100,7 @@ static struct platform_driver fsi_ak4642 = { | |||
100 | .remove = fsi_ak4642_remove, | 100 | .remove = fsi_ak4642_remove, |
101 | }; | 101 | }; |
102 | 102 | ||
103 | static int __init fsi_ak4642_init(void) | 103 | module_platform_driver(fsi_ak4642); |
104 | { | ||
105 | return platform_driver_register(&fsi_ak4642); | ||
106 | } | ||
107 | |||
108 | static void __exit fsi_ak4642_exit(void) | ||
109 | { | ||
110 | platform_driver_unregister(&fsi_ak4642); | ||
111 | } | ||
112 | |||
113 | module_init(fsi_ak4642_init); | ||
114 | module_exit(fsi_ak4642_exit); | ||
115 | 104 | ||
116 | MODULE_LICENSE("GPL"); | 105 | MODULE_LICENSE("GPL"); |
117 | MODULE_DESCRIPTION("Generic SH4 FSI-AK4642 sound card"); | 106 | MODULE_DESCRIPTION("Generic SH4 FSI-AK4642 sound card"); |