Skip to content

Commit

Permalink
tty: remove use of __devinitconst
Browse files Browse the repository at this point in the history
CONFIG_HOTPLUG is going away as an option so __devinitconst is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent de88b34 commit 512f82a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/tty/nozomi.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ struct buffer {
} __attribute__ ((packed));

/* Global variables */
static const struct pci_device_id nozomi_pci_tbl[] __devinitconst = {
static const struct pci_device_id nozomi_pci_tbl[] = {
{PCI_DEVICE(0x1931, 0x000c)}, /* Nozomi HSDPA */
{},
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/tty/serial/8250/8250_em.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ static int __devexit serial8250_em_remove(struct platform_device *pdev)
return 0;
}

static const struct of_device_id serial8250_em_dt_ids[] __devinitconst = {
static const struct of_device_id serial8250_em_dt_ids[] = {
{ .compatible = "renesas,em-uart", },
{},
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/tty/serial/mfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,7 @@ static void serial_hsu_remove(struct pci_dev *pdev)
}

/* First 3 are UART ports, and the 4th is the DMA */
static const struct pci_device_id pci_ids[] __devinitconst = {
static const struct pci_device_id pci_ids[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x081B) },
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x081C) },
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x081D) },
Expand Down

0 comments on commit 512f82a

Please sign in to comment.