Re: Watchdog: How to get rid of warning âesb_pci_tblâ defined but notused

From: Wim Van Sebroeck
Date: Fri Mar 12 2010 - 09:57:59 EST


Hello,

> Various people pointed this warning but it is still not fixed :
>
> CC drivers/watchdog/i6300esb.o
> drivers/watchdog/i6300esb.c:341: warning: âesb_pci_tblâ defined but not used
>
> Is any special reason to keep this warning.

>From the source code:
/*
* Data for PCI driver interface
*
* This data only exists for exporting the supported
* PCI ids via MODULE_DEVICE_TABLE. We do not actually
* register a pci_driver, because someone else might one day
* want to register another driver on the same PCI id.
*/

I changed the code so that in the next linux release you want have this anymore.

Wim.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/