diff options
Diffstat (limited to 'drivers/char/hw_random/ppc4xx-rng.c')
-rw-r--r-- | drivers/char/hw_random/ppc4xx-rng.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/char/hw_random/ppc4xx-rng.c b/drivers/char/hw_random/ppc4xx-rng.c index b8afa6a4ff67..c51762c13031 100644 --- a/drivers/char/hw_random/ppc4xx-rng.c +++ b/drivers/char/hw_random/ppc4xx-rng.c | |||
@@ -139,17 +139,7 @@ static struct platform_driver ppc4xx_rng_driver = { | |||
139 | .remove = ppc4xx_rng_remove, | 139 | .remove = ppc4xx_rng_remove, |
140 | }; | 140 | }; |
141 | 141 | ||
142 | static int __init ppc4xx_rng_init(void) | 142 | module_platform_driver(ppc4xx_rng_driver); |
143 | { | ||
144 | return platform_driver_register(&ppc4xx_rng_driver); | ||
145 | } | ||
146 | module_init(ppc4xx_rng_init); | ||
147 | |||
148 | static void __exit ppc4xx_rng_exit(void) | ||
149 | { | ||
150 | platform_driver_unregister(&ppc4xx_rng_driver); | ||
151 | } | ||
152 | module_exit(ppc4xx_rng_exit); | ||
153 | 143 | ||
154 | MODULE_LICENSE("GPL"); | 144 | MODULE_LICENSE("GPL"); |
155 | MODULE_AUTHOR("Josh Boyer <jwboyer@linux.vnet.ibm.com>"); | 145 | MODULE_AUTHOR("Josh Boyer <jwboyer@linux.vnet.ibm.com>"); |