aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nfc/pn533.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nfc/pn533.c')
-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 7bcb1febef0d..bd023847efb2 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -1597,24 +1597,7 @@ static struct usb_driver pn533_driver = {
1597 .id_table = pn533_table, 1597 .id_table = pn533_table,
1598}; 1598};
1599 1599
1600static int __init pn533_init(void) 1600module_usb_driver(pn533_driver);
1601{
1602 int rc;
1603
1604 rc = usb_register(&pn533_driver);
1605 if (rc)
1606 err("usb_register failed. Error number %d", rc);
1607
1608 return rc;
1609}
1610
1611static void __exit pn533_exit(void)
1612{
1613 usb_deregister(&pn533_driver);
1614}
1615
1616module_init(pn533_init);
1617module_exit(pn533_exit);
1618 1601
1619MODULE_AUTHOR("Lauro Ramos Venancio <lauro.venancio@openbossa.org>," 1602MODULE_AUTHOR("Lauro Ramos Venancio <lauro.venancio@openbossa.org>,"
1620 " Aloisio Almeida Jr <aloisio.almeida@openbossa.org>"); 1603 " Aloisio Almeida Jr <aloisio.almeida@openbossa.org>");