aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_debugfs.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@nokia.com>2010-03-25 13:25:18 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 13:21:35 -0700
commitb0f9da7e02776a8c5ad61b9e24feebf7b12a7243 (patch)
tree6b88155e7e21759ba9cf04f884cb65d75fed8329 /drivers/usb/musb/musb_debugfs.c
parente618834ef9608750a36d03d4aa9a9f931aa788d6 (diff)
downloadmrst-s0i3-test-b0f9da7e02776a8c5ad61b9e24feebf7b12a7243.tar.gz
mrst-s0i3-test-b0f9da7e02776a8c5ad61b9e24feebf7b12a7243.tar.xz
mrst-s0i3-test-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_debugfs.c b/drivers/usb/musb/musb_debugfs.c
index b6a27bab223..7768634a757 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);
}