diff options
Diffstat (limited to 'drivers/tty/serial/8250')
-rw-r--r-- | drivers/tty/serial/8250/8250.c | 2 | ||||
-rw-r--r-- | drivers/tty/serial/8250/8250_acorn.c | 2 | ||||
-rw-r--r-- | drivers/tty/serial/8250/8250_dw.c | 2 | ||||
-rw-r--r-- | drivers/tty/serial/8250/8250_em.c | 2 | ||||
-rw-r--r-- | drivers/tty/serial/8250/8250_hp300.c | 4 | ||||
-rw-r--r-- | drivers/tty/serial/8250/8250_pci.c | 4 | ||||
-rw-r--r-- | drivers/tty/serial/8250/8250_pnp.c | 8 |
7 files changed, 12 insertions, 12 deletions
diff --git a/drivers/tty/serial/8250/8250.c b/drivers/tty/serial/8250/8250.c index 870c5f2d0c8f..40ba8cc0985d 100644 --- a/drivers/tty/serial/8250/8250.c +++ b/drivers/tty/serial/8250/8250.c | |||
@@ -2989,7 +2989,7 @@ void serial8250_resume_port(int line) | |||
2989 | * list is terminated with a zero flags entry, which means we expect | 2989 | * list is terminated with a zero flags entry, which means we expect |
2990 | * all entries to have at least UPF_BOOT_AUTOCONF set. | 2990 | * all entries to have at least UPF_BOOT_AUTOCONF set. |
2991 | */ | 2991 | */ |
2992 | static int __devinit serial8250_probe(struct platform_device *dev) | 2992 | static int serial8250_probe(struct platform_device *dev) |
2993 | { | 2993 | { |
2994 | struct plat_serial8250_port *p = dev->dev.platform_data; | 2994 | struct plat_serial8250_port *p = dev->dev.platform_data; |
2995 | struct uart_8250_port uart; | 2995 | struct uart_8250_port uart; |
diff --git a/drivers/tty/serial/8250/8250_acorn.c b/drivers/tty/serial/8250/8250_acorn.c index b5e4b494cb07..ed095eb2e3f2 100644 --- a/drivers/tty/serial/8250/8250_acorn.c +++ b/drivers/tty/serial/8250/8250_acorn.c | |||
@@ -38,7 +38,7 @@ struct serial_card_info { | |||
38 | void __iomem *vaddr; | 38 | void __iomem *vaddr; |
39 | }; | 39 | }; |
40 | 40 | ||
41 | static int __devinit | 41 | static int |
42 | serial_card_probe(struct expansion_card *ec, const struct ecard_id *id) | 42 | serial_card_probe(struct expansion_card *ec, const struct ecard_id *id) |
43 | { | 43 | { |
44 | struct serial_card_info *info; | 44 | struct serial_card_info *info; |
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index 2db80d03b0ba..7664750c2bd6 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c | |||
@@ -87,7 +87,7 @@ static int dw8250_handle_irq(struct uart_port *p) | |||
87 | return 0; | 87 | return 0; |
88 | } | 88 | } |
89 | 89 | ||
90 | static int __devinit dw8250_probe(struct platform_device *pdev) | 90 | static int dw8250_probe(struct platform_device *pdev) |
91 | { | 91 | { |
92 | struct uart_8250_port uart = {}; | 92 | struct uart_8250_port uart = {}; |
93 | struct resource *regs = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 93 | struct resource *regs = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c index 80c0a626c13e..f59bff5907c1 100644 --- a/drivers/tty/serial/8250/8250_em.c +++ b/drivers/tty/serial/8250/8250_em.c | |||
@@ -89,7 +89,7 @@ static void serial8250_em_serial_dl_write(struct uart_8250_port *up, int value) | |||
89 | serial_out(up, UART_DLM_EM, value >> 8 & 0xff); | 89 | serial_out(up, UART_DLM_EM, value >> 8 & 0xff); |
90 | } | 90 | } |
91 | 91 | ||
92 | static int __devinit serial8250_em_probe(struct platform_device *pdev) | 92 | static int serial8250_em_probe(struct platform_device *pdev) |
93 | { | 93 | { |
94 | struct resource *regs = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 94 | struct resource *regs = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
95 | struct resource *irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); | 95 | struct resource *irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); |
diff --git a/drivers/tty/serial/8250/8250_hp300.c b/drivers/tty/serial/8250/8250_hp300.c index 89e88559f489..2b945052ee08 100644 --- a/drivers/tty/serial/8250/8250_hp300.c +++ b/drivers/tty/serial/8250/8250_hp300.c | |||
@@ -36,7 +36,7 @@ static struct hp300_port *hp300_ports; | |||
36 | 36 | ||
37 | #ifdef CONFIG_HPDCA | 37 | #ifdef CONFIG_HPDCA |
38 | 38 | ||
39 | static int __devinit hpdca_init_one(struct dio_dev *d, | 39 | static int hpdca_init_one(struct dio_dev *d, |
40 | const struct dio_device_id *ent); | 40 | const struct dio_device_id *ent); |
41 | static void __devexit hpdca_remove_one(struct dio_dev *d); | 41 | static void __devexit hpdca_remove_one(struct dio_dev *d); |
42 | 42 | ||
@@ -159,7 +159,7 @@ int __init hp300_setup_serial_console(void) | |||
159 | #endif /* CONFIG_SERIAL_8250_CONSOLE */ | 159 | #endif /* CONFIG_SERIAL_8250_CONSOLE */ |
160 | 160 | ||
161 | #ifdef CONFIG_HPDCA | 161 | #ifdef CONFIG_HPDCA |
162 | static int __devinit hpdca_init_one(struct dio_dev *d, | 162 | static int hpdca_init_one(struct dio_dev *d, |
163 | const struct dio_device_id *ent) | 163 | const struct dio_device_id *ent) |
164 | { | 164 | { |
165 | struct uart_8250_port uart; | 165 | struct uart_8250_port uart; |
diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index c049cfa06f55..a5acb57b5ba0 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c | |||
@@ -2691,7 +2691,7 @@ static const struct pci_device_id blacklist[] = { | |||
2691 | * guess what the configuration might be, based on the pitiful PCI | 2691 | * guess what the configuration might be, based on the pitiful PCI |
2692 | * serial specs. Returns 0 on success, 1 on failure. | 2692 | * serial specs. Returns 0 on success, 1 on failure. |
2693 | */ | 2693 | */ |
2694 | static int __devinit | 2694 | static int |
2695 | serial_pci_guess_board(struct pci_dev *dev, struct pciserial_board *board) | 2695 | serial_pci_guess_board(struct pci_dev *dev, struct pciserial_board *board) |
2696 | { | 2696 | { |
2697 | const struct pci_device_id *bldev; | 2697 | const struct pci_device_id *bldev; |
@@ -2917,7 +2917,7 @@ EXPORT_SYMBOL_GPL(pciserial_resume_ports); | |||
2917 | * Probe one serial board. Unfortunately, there is no rhyme nor reason | 2917 | * Probe one serial board. Unfortunately, there is no rhyme nor reason |
2918 | * to the arrangement of serial ports on a PCI card. | 2918 | * to the arrangement of serial ports on a PCI card. |
2919 | */ | 2919 | */ |
2920 | static int __devinit | 2920 | static int |
2921 | pciserial_init_one(struct pci_dev *dev, const struct pci_device_id *ent) | 2921 | pciserial_init_one(struct pci_dev *dev, const struct pci_device_id *ent) |
2922 | { | 2922 | { |
2923 | struct pci_serial_quirk *quirk; | 2923 | struct pci_serial_quirk *quirk; |
diff --git a/drivers/tty/serial/8250/8250_pnp.c b/drivers/tty/serial/8250/8250_pnp.c index e566220f187d..2b8a6ac173f6 100644 --- a/drivers/tty/serial/8250/8250_pnp.c +++ b/drivers/tty/serial/8250/8250_pnp.c | |||
@@ -377,7 +377,7 @@ static char *modem_names[] __devinitdata = { | |||
377 | "33600", "28800", "14400", "V.90", "V.34", "V.32", NULL | 377 | "33600", "28800", "14400", "V.90", "V.34", "V.32", NULL |
378 | }; | 378 | }; |
379 | 379 | ||
380 | static int __devinit check_name(char *name) | 380 | static int check_name(char *name) |
381 | { | 381 | { |
382 | char **tmp; | 382 | char **tmp; |
383 | 383 | ||
@@ -388,7 +388,7 @@ static int __devinit check_name(char *name) | |||
388 | return 0; | 388 | return 0; |
389 | } | 389 | } |
390 | 390 | ||
391 | static int __devinit check_resources(struct pnp_dev *dev) | 391 | static int check_resources(struct pnp_dev *dev) |
392 | { | 392 | { |
393 | resource_size_t base[] = {0x2f8, 0x3f8, 0x2e8, 0x3e8}; | 393 | resource_size_t base[] = {0x2f8, 0x3f8, 0x2e8, 0x3e8}; |
394 | int i; | 394 | int i; |
@@ -412,7 +412,7 @@ static int __devinit check_resources(struct pnp_dev *dev) | |||
412 | * PnP modems, alternatively we must hardcode all modems in pnp_devices[] | 412 | * PnP modems, alternatively we must hardcode all modems in pnp_devices[] |
413 | * table. | 413 | * table. |
414 | */ | 414 | */ |
415 | static int __devinit serial_pnp_guess_board(struct pnp_dev *dev) | 415 | static int serial_pnp_guess_board(struct pnp_dev *dev) |
416 | { | 416 | { |
417 | if (!(check_name(pnp_dev_name(dev)) || | 417 | if (!(check_name(pnp_dev_name(dev)) || |
418 | (dev->card && check_name(dev->card->name)))) | 418 | (dev->card && check_name(dev->card->name)))) |
@@ -424,7 +424,7 @@ static int __devinit serial_pnp_guess_board(struct pnp_dev *dev) | |||
424 | return -ENODEV; | 424 | return -ENODEV; |
425 | } | 425 | } |
426 | 426 | ||
427 | static int __devinit | 427 | static int |
428 | serial_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id) | 428 | serial_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id) |
429 | { | 429 | { |
430 | struct uart_8250_port uart; | 430 | struct uart_8250_port uart; |