lkml.org 
[lkml]   [2010]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subjectpnp: Re: #2 (Re: More modaliases + patchtool))
    ...




    Fix lost PNP modaliases

    Signed-off-by: Dzianis Kahanovich <mahatma@eu.by>

    --- linux-2.6.36-rc4-git3/drivers/ide/ide-pnp.c 2010-08-02 01:11:14.000000000 +0300
    +++ b/drivers/ide/ide-pnp.c 2010-09-17 12:38:47.960703237 +0300
    @@ -105,6 +105,9 @@ static void __exit pnpide_exit(void)
    pnp_unregister_driver(&idepnp_driver);
    }

    +
    +MODULE_DEVICE_TABLE(pnp, idepnp_devices);
    +
    module_init(pnpide_init);
    module_exit(pnpide_exit);

    --- linux-2.6.36-rc4-git3/drivers/watchdog/sc1200wdt.c 2010-08-02 01:11:14.000000000 +0300
    +++ b/drivers/watchdog/sc1200wdt.c 2010-09-17 12:39:07.012117913 +0300
    @@ -473,6 +473,11 @@ static void __exit sc1200wdt_exit(void)
    release_region(io, io_len);
    }

    +
    +#ifdef CONFIG_PNP
    +MODULE_DEVICE_TABLE(pnp, scl200wdt_pnp_devices);
    +#endif
    +
    module_init(sc1200wdt_init);
    module_exit(sc1200wdt_exit);

    --- linux-2.6.36-rc4-git3/drivers/staging/comedi/drivers/c6xdigio.c 2010-09-17 12:30:31.000000000 +0300
    +++ b/drivers/staging/comedi/drivers/c6xdigio.c 2010-09-17 12:38:58.863004604 +0300
    @@ -527,6 +527,11 @@ static void __exit driver_c6xdigio_clean
    comedi_driver_unregister(&driver_c6xdigio);
    }

    +
    +#ifdef CONFIG_PNP
    +MODULE_DEVICE_TABLE(pnp, c6xdigio_pnp_tbl);
    +#endif
    +
    module_init(driver_c6xdigio_init_module);
    module_exit(driver_c6xdigio_cleanup_module);
    \
     
     \ /
      Last update: 2010-09-17 15:31    [W:0.023 / U:30.236 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site