On Sun, Mar 06, 2005 at 11:38:12PM +0100, [EMAIL PROTECTED] wrote: > > convert from pci_module_init to pci_register_driver > > Signed-off-by: Christophe Lucas <[EMAIL PROTECTED]> > Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> > --- > > > 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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/