mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/6] Replacing pci_module_init() with pci_register_driver()
@ 2005-11-29 23:57 Richard Knutsson
  0 siblings, 0 replies; only message in thread
From: Richard Knutsson @ 2005-11-29 23:57 UTC (permalink / raw)
  To: akpm, linux-kernel; +Cc: Richard Knutsson

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-29 23:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-29 23:57 [PATCH 0/6] Replacing pci_module_init() with pci_register_driver() Richard Knutsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome