diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2010-03-25 07:25:18 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:35 -0400 |
commit | b0f9da7e02776a8c5ad61b9e24feebf7b12a7243 (patch) | |
tree | 6b88155e7e21759ba9cf04f884cb65d75fed8329 /drivers/usb/musb/musb_debugfs.c | |
parent | e618834ef9608750a36d03d4aa9a9f931aa788d6 (diff) |
usb: musb: debugfs: musb_exit_debugfs() can be called on probe
when we fail to probe(), we can call musb_exit_debugfs().
Allow that by removing section annotations.
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/musb_debugfs.c')
-rw-r--r-- | drivers/usb/musb/musb_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_debugfs.c b/drivers/usb/musb/musb_debugfs.c index b6a27bab223a..7768634a7576 100644 --- a/drivers/usb/musb/musb_debugfs.c +++ b/drivers/usb/musb/musb_debugfs.c | |||
@@ -289,7 +289,7 @@ err0: | |||
289 | return ret; | 289 | return ret; |
290 | } | 290 | } |
291 | 291 | ||
292 | void __exit musb_exit_debugfs(struct musb *musb) | 292 | void /* __init_or_exit */ musb_exit_debugfs(struct musb *musb) |
293 | { | 293 | { |
294 | debugfs_remove_recursive(musb_debugfs_root); | 294 | debugfs_remove_recursive(musb_debugfs_root); |
295 | } | 295 | } |