All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henne <henne@nachtwindheim.de>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] [PATCH] __devinitdata in serial subsys
Date: Wed, 26 Apr 2006 06:31:55 +0000	[thread overview]
Message-ID: <444F13DB.3050907@nachtwindheim.de> (raw)

From: Henrik Kretzschmar <henne@nachtwindheim.de>

Marking the pci_device_id tables of the serial-subsys as __devinitdata.
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
---
diff -urN linux-2.6.17-rc2/drivers/serial/8250_pci.c linux/drivers/serial/8250_pci.c
--- linux-2.6.17-rc2/drivers/serial/8250_pci.c	2006-03-20 06:53:29.000000000 +0100
+++ linux/drivers/serial/8250_pci.c	2006-04-24 17:11:45.000000000 +0200
@@ -1813,7 +1813,7 @@
  	return 0;
  }

-static struct pci_device_id serial_pci_tbl[] = {
+static struct pci_device_id serial_pci_tbl[] __devinitdata = {
  	{	PCI_VENDOR_ID_V3, PCI_DEVICE_ID_V3_V960,
  		PCI_SUBVENDOR_ID_CONNECT_TECH,
  		PCI_SUBDEVICE_ID_CONNECT_TECH_BH8_232, 0, 0,
diff -urN linux-2.6.17-rc2/drivers/serial/icom.c linux/drivers/serial/icom.c
--- linux-2.6.17-rc2/drivers/serial/icom.c	2006-03-20 06:53:29.000000000 +0100
+++ linux/drivers/serial/icom.c	2006-04-24 17:44:48.000000000 +0200
@@ -70,7 +70,7 @@
  #define ICOM_PORT ((struct icom_port *)port)
  #define to_icom_adapter(d) container_of(d, struct icom_adapter, kobj)

-static const struct pci_device_id icom_pci_table[] = {
+static const struct pci_device_id icom_pci_table[] __devinitdata = {
  	{
  	      .vendor = PCI_VENDOR_ID_IBM,
  	      .device = PCI_DEVICE_ID_IBM_ICOM_DEV_ID_1,
diff -urN linux-2.6.17-rc2/drivers/serial/jsm/jsm_driver.c linux/drivers/serial/jsm/jsm_driver.c
--- linux-2.6.17-rc2/drivers/serial/jsm/jsm_driver.c	2006-04-24 13:31:01.000000000 +0200
+++ linux/drivers/serial/jsm/jsm_driver.c	2006-04-24 17:12:42.000000000 +0200
@@ -205,7 +205,7 @@
  	kfree(brd);
  }

-static struct pci_device_id jsm_pci_tbl[] = {
+static struct pci_device_id jsm_pci_tbl[] __devinitdata = {
  	{ PCI_DEVICE(PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_NEO_2DB9), 0, 0, 0 },
  	{ PCI_DEVICE(PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_NEO_2DB9PRI), 0, 0, 1 },
  	{ PCI_DEVICE(PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_NEO_2RJ45), 0, 0, 2 },
diff -urN linux-2.6.17-rc2/drivers/serial/serial_txx9.c linux/drivers/serial/serial_txx9.c
--- linux-2.6.17-rc2/drivers/serial/serial_txx9.c	2006-04-24 13:31:01.000000000 +0200
+++ linux/drivers/serial/serial_txx9.c	2006-04-24 17:12:16.000000000 +0200
@@ -1149,7 +1149,7 @@
  	return 0;
  }

-static struct pci_device_id serial_txx9_pci_tbl[] = {
+static struct pci_device_id serial_txx9_pci_tbl[] __devinitdata = {
  	{	PCI_VENDOR_ID_TOSHIBA_2, PCI_DEVICE_ID_TOSHIBA_TC86C001_MISC,
  		PCI_ANY_ID, PCI_ANY_ID,
  		0, 0, 0 },
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

                 reply	other threads:[~2006-04-26  6:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=444F13DB.3050907@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.