[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080529195009.GC32180@cs181133002.pp.htv.fi>
Date: Thu, 29 May 2008 22:50:09 +0300
From: Adrian Bunk <bunk@...nel.org>
To: David Howells <dhowells@...hat.com>
Cc: torvalds@...l.org, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org
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@...nel.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists