Re: [patch 5/8] drivers/isdn/tpam/*: convert to pci_register_driver
From: Karsten Keil
Date: Mon Mar 07 2005 - 05:35:06 EST
On Sun, Mar 06, 2005 at 11:38:12PM +0100, domen@xxxxxxxxxxxx wrote:
>
> convert from pci_module_init to pci_register_driver
>
> Signed-off-by: Christophe Lucas <c.lucas@xxxxxxxxxxx>
> Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx>
> ---
>
>
> kj-domen/drivers/isdn/tpam/tpam_main.c | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
> diff -puN drivers/isdn/tpam/tpam_main.c~pci_register_driver-drivers_isdn_tpam drivers/isdn/tpam/tpam_main.c
> --- kj/drivers/isdn/tpam/tpam_main.c~pci_register_driver-drivers_isdn_tpam 2005-03-05 16:12:25.000000000 +0100
> +++ kj-domen/drivers/isdn/tpam/tpam_main.c 2005-03-05 16:12:25.000000000 +0100
> @@ -278,7 +278,7 @@ static struct pci_driver tpam_driver = {
> static int __init tpam_init(void) {
> int ret;
>
> - ret = pci_module_init(&tpam_driver);
> + ret = pci_register_driver(&tpam_driver);
> if (ret)
> return ret;
> printk(KERN_INFO "TurboPAM: %d card%s found, driver loaded.\n",
Note:
All changes to code drivers/isdn/tpam are obsolate, since the code is
obsolate and I already sent a complete remove patch.
--
Karsten Keil
SuSE Labs
ISDN development
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/