aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/pn533.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index b8b6c2abbd4a..1a1500bc8452 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -1761,24 +1761,7 @@ static struct usb_driver pn533_driver = {
1761 .id_table = pn533_table, 1761 .id_table = pn533_table,
1762}; 1762};
1763 1763
1764static int __init pn533_init(void) 1764module_usb_driver(pn533_driver);
1765{
1766 int rc;
1767
1768 rc = usb_register(&pn533_driver);
1769 if (rc)
1770 err("usb_register failed. Error number %d", rc);
1771
1772 return rc;
1773}
1774
1775static void __exit pn533_exit(void)
1776{
1777 usb_deregister(&pn533_driver);
1778}
1779
1780module_init(pn533_init);
1781module_exit(pn533_exit);
1782 1765
1783MODULE_AUTHOR("Lauro Ramos Venancio <lauro.venancio@openbossa.org>," 1766MODULE_AUTHOR("Lauro Ramos Venancio <lauro.venancio@openbossa.org>,"
1784 " Aloisio Almeida Jr <aloisio.almeida@openbossa.org>"); 1767 " Aloisio Almeida Jr <aloisio.almeida@openbossa.org>");