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



    \
     
     \ /
      Last update: 2008-05-29 21:59    [W:0.019 / U:3.640 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site