All of lore.kernel.org
 help / color / mirror / Atom feed
* Watchdog: How to get rid of warning ‘esb_pci_tbl’ defined but not used
@ 2010-02-27  7:12 Jaswinder Singh Rajput
  2010-03-12 14:57 ` Wim Van Sebroeck
  0 siblings, 1 reply; 2+ messages in thread
From: Jaswinder Singh Rajput @ 2010-02-27  7:12 UTC (permalink / raw)
  To: Wim Van Sebroeck, Ross Biro, David Hardeman, LKML

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.

Thanks,
--
Jaswinder.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Watchdog: How to get rid of warning ‘esb_pci_tbl’ defined but not used
  2010-02-27  7:12 Watchdog: How to get rid of warning ‘esb_pci_tbl’ defined but not used Jaswinder Singh Rajput
@ 2010-03-12 14:57 ` Wim Van Sebroeck
  0 siblings, 0 replies; 2+ messages in thread
From: Wim Van Sebroeck @ 2010-03-12 14:57 UTC (permalink / raw)
  To: Jaswinder Singh Rajput; +Cc: Ross Biro, David Hardeman, LKML

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-12 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-27  7:12 Watchdog: How to get rid of warning ‘esb_pci_tbl’ defined but not used Jaswinder Singh Rajput
2010-03-12 14:57 ` Wim Van Sebroeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.