]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
tty: remove use of __devinitdata
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:24:32 +0000 (13:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 23:25:06 +0000 (15:25 -0800)
CONFIG_HOTPLUG is going away as an option so __devinitdata is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_opal.c
drivers/tty/hvc/hvc_vio.c
drivers/tty/rocket.c
drivers/tty/serial/8250/8250_pci.c
drivers/tty/serial/8250/8250_pnp.c
drivers/tty/serial/of_serial.c
drivers/tty/serial/sirfsoc_uart.c
drivers/tty/serial/uartlite.c
drivers/tty/serial/xilinx_uartps.c

index 79f2b5e17f8d2eaeeed816aa9a327fa077ef2b9d..61da5cd093fcca75f8092d55797da0825bc54cb7 100644 (file)
@@ -41,7 +41,7 @@
 
 static const char hvc_opal_name[] = "hvc_opal";
 
-static struct of_device_id hvc_opal_match[] __devinitdata = {
+static struct of_device_id hvc_opal_match[] = {
        { .name = "serial", .compatible = "ibm,opal-console-raw" },
        { .name = "serial", .compatible = "ibm,opal-console-hvsi" },
        { },
index 77bde6c2cfa059db7922ca64d973a7c57c6d0779..282d143a643747e04277864be57eb609f46bbb6c 100644 (file)
@@ -53,7 +53,7 @@
 
 static const char hvc_driver_name[] = "hvc_console";
 
-static struct vio_device_id hvc_driver_table[] __devinitdata = {
+static struct vio_device_id hvc_driver_table[] = {
        {"serial", "hvterm1"},
 #ifndef HVC_OLD_HVSI
        {"serial", "hvterm-protocol"},
index d9056dac4ea18f052fc1737f192bedaa4f6483b0..e42009a0052902f576196ffd5e427dce0c945733 100644 (file)
@@ -1758,7 +1758,7 @@ static void rp_flush_buffer(struct tty_struct *tty)
 
 #ifdef CONFIG_PCI
 
-static struct pci_device_id __devinitdata __used rocket_pci_ids[] = {
+static struct pci_device_id __used rocket_pci_ids[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_RP, PCI_ANY_ID) },
        { }
 };
index a5acb57b5ba032763a904bc3def0340a53e19967..3252c5d47ff89653547dc365d8282b9baf4ec588 100644 (file)
@@ -1987,7 +1987,7 @@ enum pci_board_num_t {
  * see first lines of serial_in() and serial_out() in 8250.c
 */
 
-static struct pciserial_board pci_boards[] __devinitdata = {
+static struct pciserial_board pci_boards[] = {
        [pbn_default] = {
                .flags          = FL_BASE0,
                .num_ports      = 1,
index 2b8a6ac173f65abe06ced5e6405310e4fcea7ab0..71daae90fb5e0de68c92e14f4b5527caee474a94 100644 (file)
@@ -370,7 +370,7 @@ static const struct pnp_device_id pnp_dev_table[] = {
 
 MODULE_DEVICE_TABLE(pnp, pnp_dev_table);
 
-static char *modem_names[] __devinitdata = {
+static char *modem_names[] = {
        "MODEM", "Modem", "modem", "FAX", "Fax", "fax",
        "56K", "56k", "K56", "33.6", "28.8", "14.4",
        "33,600", "28,800", "14,400", "33.600", "28.800", "14.400",
index 1bce344ca794fafee041a640ba9d7df0c2bc034a..e7cae1c2d7d209703210cf71f967dd88c01d643d 100644 (file)
@@ -231,7 +231,7 @@ static int of_platform_serial_remove(struct platform_device *ofdev)
 /*
  * A few common types, add more as needed.
  */
-static struct of_device_id __devinitdata of_platform_serial_table[] = {
+static struct of_device_id of_platform_serial_table[] = {
        { .compatible = "ns8250",   .data = (void *)PORT_8250, },
        { .compatible = "ns16450",  .data = (void *)PORT_16450, },
        { .compatible = "ns16550a", .data = (void *)PORT_16550A, },
index 49849843ff82fbf0497f28ae42ffb3eb63fea6af..5da5cb962769df537c02392a3e96e41bb117837b 100644 (file)
@@ -727,7 +727,7 @@ static int sirfsoc_uart_resume(struct platform_device *pdev)
        return 0;
 }
 
-static struct of_device_id sirfsoc_uart_ids[] __devinitdata = {
+static struct of_device_id sirfsoc_uart_ids[] = {
        { .compatible = "sirf,prima2-uart", },
        {}
 };
index df9eeb451ae9fae1210117439f8c59b22f08cfa0..2d20b012b4427b93f86f28b36a2407499d23f959 100644 (file)
@@ -562,7 +562,7 @@ static int __devexit ulite_release(struct device *dev)
 
 #if defined(CONFIG_OF)
 /* Match table for of_platform binding */
-static struct of_device_id ulite_of_match[] __devinitdata = {
+static struct of_device_id ulite_of_match[] = {
        { .compatible = "xlnx,opb-uartlite-1.00.b", },
        { .compatible = "xlnx,xps-uartlite-1.00.a", },
        {}
index a1cd2df51c9e5e3e7c2fd041ece01ee025d9e92e..61fa71433a0e9725586daa645f88da90d284c740 100644 (file)
@@ -1040,7 +1040,7 @@ static int xuartps_resume(struct platform_device *pdev)
 }
 
 /* Match table for of_platform binding */
-static struct of_device_id xuartps_of_match[] __devinitdata = {
+static struct of_device_id xuartps_of_match[] = {
        { .compatible = "xlnx,xuartps", },
        {}
 };