diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2010-03-25 11:25:18 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 20:21:35 (GMT) |
commit | b0f9da7e02776a8c5ad61b9e24feebf7b12a7243 (patch) | |
tree | 6b88155e7e21759ba9cf04f884cb65d75fed8329 /drivers/usb/musb/musb_debugfs.c | |
parent | e618834ef9608750a36d03d4aa9a9f931aa788d6 (diff) | |
download | linux-fsl-qoriq-b0f9da7e02776a8c5ad61b9e24feebf7b12a7243.tar.xz |
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 b6a27ba..7768634 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); } |