diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2010-03-25 12:25:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 22:21:35 +0200 |
commit | b0f9da7e02776a8c5ad61b9e24feebf7b12a7243 (patch) | |
tree | 6b88155e7e21759ba9cf04f884cb65d75fed8329 /drivers/usb/musb/musb_debugfs.c | |
parent | USB: option.c: option_indat_callback: Resubmit some unsuccessful URBs (diff) | |
download | linux-b0f9da7e02776a8c5ad61b9e24feebf7b12a7243.tar.xz linux-b0f9da7e02776a8c5ad61b9e24feebf7b12a7243.zip |
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: return ret; } -void __exit musb_exit_debugfs(struct musb *musb) +void /* __init_or_exit */ musb_exit_debugfs(struct musb *musb) { debugfs_remove_recursive(musb_debugfs_root); } |