mirror of https://gitee.com/openkylin/linux.git
tty: remove use of __devinitconst
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>
This commit is contained in:
parent
de88b34042
commit
512f82a064
|
@ -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 */
|
||||
{},
|
||||
};
|
||||
|
|
|
@ -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", },
|
||||
{},
|
||||
};
|
||||
|
|
|
@ -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) },
|
||||
|
|
Loading…
Reference in New Issue