[PATCH 0/6] Replacing pci_module_init() with pci_register_driver()
From: Richard Knutsson (ricknu-0_at_student.ltu.se)
Date: 11/30/05
- Previous message: Don Koch: "Re: Gene's pcHDTV 3000 analog problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Nov 2005 00:57:18 +0100 (MET) To: akpm@osdl.org, linux-kernel@vger.kernel.org
Just a serie to replace the obsolete pci_module_init() with pci_register_driver(). Last patch deletes pci_module_init().
Because pci_module_init() is implemented as:
pci.h:352 #define pci_module_init pci_register_driver
the replacment should not effect anything. Just to be sure the serie has been compiled (2.6.15-rc3) with:
make allyesconfig
make
without any error (warnings (unrelated) but no errors).
Doing "find . -name *.[chS] | xargs grep -n pci_module_init" in the patched tree results in:
./sound/oss/es1371.c:97: * Use pci_module_init
./drivers/media/dvb/b2c2/flexcop-pci.c:418:static int __init flexcop_pci_module_init(void)
./drivers/media/dvb/b2c2/flexcop-pci.c:428:module_init(flexcop_pci_module_init);
It is just sent to lkml in hope that the changes are to small and to spread for mailing every maintainer. Will you pick this up Andrew?
Any comment is welcome.
/Richard
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Don Koch: "Re: Gene's pcHDTV 3000 analog problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Remote Serial Console on 2.6.x ?
... I was used to debug my kernel code with the remote serial console ... facility
on the 2.4.x serie, but I really can't figure how does it works ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel) - Re: 2.6.9-rc1-mm4
... > Will you consider spliting this stuff into a serie of smaller, ... from
the perspective of this driver, ... send the line "unsubscribe linux-kernel" in
... (Linux-Kernel) - [PATCH 6/6] pci.h: Delete Replace pci_module_init()
... Need previous patches in the serie to be implemented. ... * pci_module_init
is obsolete, this stays here till we fix up all usages of it ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel)