Messages in this thread | | | Date | Thu, 29 May 2008 22:50:09 +0300 | From | Adrian Bunk <> | Subject | Re: [PATCH 4/6] Werror: Hide warnings on static module device tables |
| |
On Thu, May 29, 2008 at 08:41:47PM +0100, David Howells wrote: > Adrian Bunk <bunk@kernel.org> wrote: > > > Isn't the warning often a reminder that a driver should be updated to > > use pci_register_driver() etc. ? > > If it is, it's not mentioned in Documentation/ or at the definition of > MODULE_DEVICE_TABLE.
It might not be intentionally, but the warning goes away when you stuff the table into a struct pci_driver.
> Also, does that apply to the isapnp driver?
There's struct pnp_driver together with pnp_register_driver() etc.
> David
cu Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
| |