diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/misc/sparcspkr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/misc/sparcspkr.c b/drivers/input/misc/sparcspkr.c index a3637d870880..fed3c375ccf3 100644 --- a/drivers/input/misc/sparcspkr.c +++ b/drivers/input/misc/sparcspkr.c | |||
@@ -195,7 +195,7 @@ static struct of_platform_driver ebus_beep_driver = { | |||
195 | .name = "beep", | 195 | .name = "beep", |
196 | .match_table = ebus_beep_match, | 196 | .match_table = ebus_beep_match, |
197 | .probe = ebus_beep_probe, | 197 | .probe = ebus_beep_probe, |
198 | .remove = sparcspkr_remove, | 198 | .remove = __devexit_p(sparcspkr_remove), |
199 | .shutdown = sparcspkr_shutdown, | 199 | .shutdown = sparcspkr_shutdown, |
200 | }; | 200 | }; |
201 | 201 | ||
@@ -236,7 +236,7 @@ static struct of_platform_driver isa_beep_driver = { | |||
236 | .name = "beep", | 236 | .name = "beep", |
237 | .match_table = isa_beep_match, | 237 | .match_table = isa_beep_match, |
238 | .probe = isa_beep_probe, | 238 | .probe = isa_beep_probe, |
239 | .remove = sparcspkr_remove, | 239 | .remove = __devexit_p(sparcspkr_remove), |
240 | .shutdown = sparcspkr_shutdown, | 240 | .shutdown = sparcspkr_shutdown, |
241 | }; | 241 | }; |
242 | 242 | ||