aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/mon/mon_bin.c
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2007-02-20 10:37:52 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-23 15:03:45 -0800
commit21641e3fb1c2e53b3a0acf68e6f62f1f82f61445 (patch)
treeacfc23fb1332c76746b803085187fc261cbd0303 /drivers/usb/mon/mon_bin.c
parent946b960d13c15f050a3b848987aaca79f6a459b7 (diff)
downloadkernel_samsung_smdk4412-21641e3fb1c2e53b3a0acf68e6f62f1f82f61445.tar.gz
kernel_samsung_smdk4412-21641e3fb1c2e53b3a0acf68e6f62f1f82f61445.tar.bz2
kernel_samsung_smdk4412-21641e3fb1c2e53b3a0acf68e6f62f1f82f61445.zip
usbmon: Remove erroneous __exit
mon_bin_exit() and mon_text_exit() are called from __init code, so don't mark them as __exit. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/mon/mon_bin.c')
-rw-r--r--drivers/usb/mon/mon_bin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/mon/mon_bin.c b/drivers/usb/mon/mon_bin.c
index c01dfe60367..b2bedd974ac 100644
--- a/drivers/usb/mon/mon_bin.c
+++ b/drivers/usb/mon/mon_bin.c
@@ -1165,7 +1165,7 @@ err_dev:
return rc;
}
-void __exit mon_bin_exit(void)
+void mon_bin_exit(void)
{
cdev_del(&mon_bin_cdev);
unregister_chrdev_region(mon_bin_dev0, MON_BIN_MAX_MINOR);