[lkml]   [2008]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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 <> 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

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



"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

 \ /
  Last update: 2008-05-29 21:59    [W:0.035 / U:4.848 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site