Fix compiler warning

nfc.c:121: warning: function declaration isn't a prototype
nfc.c: In function 'nfc_drivers_init':
nfc.c:121: warning: old-style function definition
This commit is contained in:
Ludovic Rousseau 2013-03-02 11:30:24 +01:00
parent 3aadb45988
commit e7290de83b

View file

@ -117,7 +117,7 @@ struct nfc_driver_list {
const struct nfc_driver_list *nfc_drivers = NULL;
static void
nfc_drivers_init()
nfc_drivers_init(void)
{
#if defined (DRIVER_PN53X_USB_ENABLED)
nfc_register_driver(&pn53x_usb_driver);