[PATCH 2.6.15-rc3(-mm1) 3/3] pci.h:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Richard Knutsson <[email protected]>

#if 0'ing no-longer-needed pci_module_init().

Need remove-pci_module_init-patches for both 2.6.15-rc3 and 2.6.15-rc3-mm1 to be implemented.

Signed-off-by: Richard Knutsson <[email protected]>

---

 pci.h |    2 ++
 1 files changed, 2 insertions(+)

diff -Narup a/include/linux/pci.h b/include/linux/pci.h
--- a/include/linux/pci.h	2005-12-01 02:15:06.000000000 +0100
+++ b/include/linux/pci.h	2005-12-01 03:53:48.000000000 +0100
@@ -345,11 +345,13 @@ struct pci_driver {
 	.vendor = PCI_ANY_ID, .device = PCI_ANY_ID, \
 	.subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID
 
+#if 0
 /*
  * pci_module_init is obsolete, this stays here till we fix up all usages of it
  * in the tree.
  */
 #define pci_module_init	pci_register_driver
+#endif
 
 /* these external functions are only available when PCI support is enabled */
 #ifdef CONFIG_PCI
-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux