From: Henne <henne@nachtwindheim.de>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] [PATCH] Marking the pci_device_id tables of the pci-subsystem
Date: Mon, 24 Apr 2006 15:36:21 +0000 [thread overview]
Message-ID: <444CF075.3050608@nachtwindheim.de> (raw)
In-Reply-To: <444CEB94.4010109@nachtwindheim.de>
From: Henrik Kretzschmar <henne@nachtwindheim.de>
Marking the pci_device_id tables of the pci-subsystem as __devinitdata.
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
---
Maybe this patch is bogus, since these drivers can't be compiled without
HOTPLUG_PCI with Kconfig. Decide yourself. :)
diff -urN linux-2.6.17-rc2/drivers/pci/hotplug/cpcihp_zt5550.c
linux/drivers/pci/hotplug/cpcihp_zt5550.c
--- linux-2.6.17-rc2/drivers/pci/hotplug/cpcihp_zt5550.c 2006-03-20
06:53:29.000000000 +0100
+++ linux/drivers/pci/hotplug/cpcihp_zt5550.c 2006-04-24
17:26:02.000000000 +0200
@@ -279,7 +279,7 @@
}
-static struct pci_device_id zt5550_hc_pci_tbl[] = {
+static struct pci_device_id zt5550_hc_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_ZIATECH, PCI_DEVICE_ID_ZIATECH_5550_HC, PCI_ANY_ID,
PCI_ANY_ID, },
{ 0, }
};
diff -urN linux-2.6.17-rc2/drivers/pci/hotplug/cpqphp_core.c
linux/drivers/pci/hotplug/cpqphp_core.c
--- linux-2.6.17-rc2/drivers/pci/hotplug/cpqphp_core.c 2006-04-24
13:31:00.000000000 +0200
+++ linux/drivers/pci/hotplug/cpqphp_core.c 2006-04-24
17:26:33.000000000 +0200
@@ -1477,7 +1477,7 @@
-static struct pci_device_id hpcd_pci_tbl[] = {
+static struct pci_device_id hpcd_pci_tbl[] __devinitdata = {
{
/* handle any PCI Hotplug controller */
.class = ((PCI_CLASS_SYSTEM_PCI_HOTPLUG << 8) | 0x00),
diff -urN linux-2.6.17-rc2/drivers/pci/hotplug/ibmphp_ebda.c
linux/drivers/pci/hotplug/ibmphp_ebda.c
--- linux-2.6.17-rc2/drivers/pci/hotplug/ibmphp_ebda.c 2006-04-24
13:31:00.000000000 +0200
+++ linux/drivers/pci/hotplug/ibmphp_ebda.c 2006-04-24
17:28:40.000000000 +0200
@@ -1189,7 +1189,7 @@
}
}
-static struct pci_device_id id_table[] = {
+static struct pci_device_id id_table[] __devinitdata = {
{
.vendor = PCI_VENDOR_ID_IBM,
.device = HPC_DEVICE_ID,
diff -urN linux-2.6.17-rc2/drivers/pci/hotplug/shpchp_core.c
linux/drivers/pci/hotplug/shpchp_core.c
--- linux-2.6.17-rc2/drivers/pci/hotplug/shpchp_core.c 2006-04-24
13:31:00.000000000 +0200
+++ linux/drivers/pci/hotplug/shpchp_core.c 2006-04-24
17:29:05.000000000 +0200
@@ -470,7 +470,7 @@
kfree(ctrl);
}
-static struct pci_device_id shpcd_pci_tbl[] = {
+static struct pci_device_id shpcd_pci_tbl[] __devinitdata = {
{PCI_DEVICE_CLASS(((PCI_CLASS_BRIDGE_PCI << 8) | 0x00), ~0)},
{ /* end: all zeroes */ }
};
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
next prev parent reply other threads:[~2006-04-24 15:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-24 15:15 [KJ] [PATCH] Marking the pci_device_id tables of the serial-subsys Henne
2006-04-24 15:24 ` [KJ] [PATCH] Marking the pci_device_id tables of the pcmcia-subsys Henne
2006-04-24 15:36 ` Henne [this message]
2006-04-24 15:57 ` [KJ] [PATCH] Marking the pci_device_id tables of the Greg KH
2006-04-25 11:53 ` [KJ] [PATCH] Marking the pci_device_id tables of the video-subsys Henne
2006-04-25 12:01 ` [KJ] [PATCH] Marking the pci_device_id tables of the parport-subsys Henne
2006-04-25 12:07 ` [KJ] [PATCH] Marking the pci_device_id tables of the parisc-subsys Henne
2006-04-25 12:17 ` [KJ] [PATCH] Marking the pci_device_id tables of the mtd-subsys as Henne
2006-04-25 12:31 ` [KJ] [PATCH] Marking the pci_device_id tables of the message-subsys Henne
2006-04-25 12:49 ` [KJ] [PATCH] Marking the pci_device_id tables od the isdn-subsys as Henne
2006-04-25 13:03 ` [KJ] [PATCH] Marking the pci_device_id tables of the input-subsys Henne
2006-04-25 13:11 ` [KJ] [PATCH] Marking the pci_device_id tables of the Henne
2006-04-25 13:41 ` Henne
2006-04-25 14:36 ` [KJ] [PATCH] Marking the pci_device_id tables of the char-subsys as Henne
2006-04-25 16:31 ` [KJ] [PATCH] Marking the pci_device_id tables of the scsi-subsys as Henne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=444CF075.3050608@nachtwindheim.de \
--to=henne@nachtwindheim.de \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.