Messages in this thread Patch in this message | | | Date | Fri, 17 Sep 2010 16:36:47 +0300 | From | Dzianis Kahanovich <> | Subject | dio: Re: #2 (Re: More modaliases + patchtool)) |
| |
...
Fix lost DIO modaliases
Signed-off-by: Dzianis Kahanovich <mahatma@eu.by>
--- linux-2.6.36-rc4-git3/drivers/serial/8250_hp300.c 2010-08-02 01:11:14.000000000 +0300 +++ b/drivers/serial/8250_hp300.c 2010-09-17 12:38:57.712780474 +0300 @@ -320,6 +320,11 @@ static void __exit hp300_8250_exit(void) #endif } + +#ifdef CONFIG_DIO +MODULE_DEVICE_TABLE(dio, hpdca_dio_tbl); +#endif + module_init(hp300_8250_init); module_exit(hp300_8250_exit); MODULE_DESCRIPTION("HP DCA/APCI serial driver"); --- linux-2.6.36-rc4-git3/drivers/video/hpfb.c 2010-08-02 01:11:14.000000000 +0300 +++ b/drivers/video/hpfb.c 2010-09-17 12:39:05.182624032 +0300 @@ -411,6 +411,9 @@ void __exit hpfb_cleanup_module(void) dio_unregister_driver(&hpfb_driver); } + +MODULE_DEVICE_TABLE(dio, hpfb_dio_tbl); + module_init(hpfb_init); module_exit(hpfb_cleanup_module); --- linux-2.6.36-rc4-git3/drivers/net/hplance.c 2010-08-02 01:11:14.000000000 +0300 +++ b/drivers/net/hplance.c 2010-09-17 12:38:54.454135462 +0300 @@ -236,6 +236,9 @@ static void __exit hplance_cleanup_modul dio_unregister_driver(&hplance_driver); } + +MODULE_DEVICE_TABLE(dio, hplance_dio_tbl); + module_init(hplance_init_module); module_exit(hplance_cleanup_module); | |