diff options
60 files changed, 113 insertions, 113 deletions
diff --git a/drivers/tty/cyclades.c b/drivers/tty/cyclades.c index 2f4d84f3c159..2dff87cdce23 100644 --- a/drivers/tty/cyclades.c +++ b/drivers/tty/cyclades.c | |||
@@ -3099,7 +3099,7 @@ static const struct tty_port_operations cyz_port_ops = { | |||
3099 | * --------------------------------------------------------------------- | 3099 | * --------------------------------------------------------------------- |
3100 | */ | 3100 | */ |
3101 | 3101 | ||
3102 | static int __devinit cy_init_card(struct cyclades_card *cinfo) | 3102 | static int cy_init_card(struct cyclades_card *cinfo) |
3103 | { | 3103 | { |
3104 | struct cyclades_port *info; | 3104 | struct cyclades_port *info; |
3105 | unsigned int channel, port; | 3105 | unsigned int channel, port; |
@@ -3196,7 +3196,7 @@ static int __devinit cy_init_card(struct cyclades_card *cinfo) | |||
3196 | 3196 | ||
3197 | /* initialize chips on Cyclom-Y card -- return number of valid | 3197 | /* initialize chips on Cyclom-Y card -- return number of valid |
3198 | chips (which is number of ports/4) */ | 3198 | chips (which is number of ports/4) */ |
3199 | static unsigned short __devinit cyy_init_card(void __iomem *true_base_addr, | 3199 | static unsigned short cyy_init_card(void __iomem *true_base_addr, |
3200 | int index) | 3200 | int index) |
3201 | { | 3201 | { |
3202 | unsigned int chip_number; | 3202 | unsigned int chip_number; |
@@ -3405,7 +3405,7 @@ static int __init cy_detect_isa(void) | |||
3405 | } /* cy_detect_isa */ | 3405 | } /* cy_detect_isa */ |
3406 | 3406 | ||
3407 | #ifdef CONFIG_PCI | 3407 | #ifdef CONFIG_PCI |
3408 | static inline int __devinit cyc_isfwstr(const char *str, unsigned int size) | 3408 | static inline int cyc_isfwstr(const char *str, unsigned int size) |
3409 | { | 3409 | { |
3410 | unsigned int a; | 3410 | unsigned int a; |
3411 | 3411 | ||
@@ -3420,7 +3420,7 @@ static inline int __devinit cyc_isfwstr(const char *str, unsigned int size) | |||
3420 | return 0; | 3420 | return 0; |
3421 | } | 3421 | } |
3422 | 3422 | ||
3423 | static inline void __devinit cyz_fpga_copy(void __iomem *fpga, const u8 *data, | 3423 | static inline void cyz_fpga_copy(void __iomem *fpga, const u8 *data, |
3424 | unsigned int size) | 3424 | unsigned int size) |
3425 | { | 3425 | { |
3426 | for (; size > 0; size--) { | 3426 | for (; size > 0; size--) { |
@@ -3429,7 +3429,7 @@ static inline void __devinit cyz_fpga_copy(void __iomem *fpga, const u8 *data, | |||
3429 | } | 3429 | } |
3430 | } | 3430 | } |
3431 | 3431 | ||
3432 | static void __devinit plx_init(struct pci_dev *pdev, int irq, | 3432 | static void plx_init(struct pci_dev *pdev, int irq, |
3433 | struct RUNTIME_9060 __iomem *addr) | 3433 | struct RUNTIME_9060 __iomem *addr) |
3434 | { | 3434 | { |
3435 | /* Reset PLX */ | 3435 | /* Reset PLX */ |
@@ -3449,7 +3449,7 @@ static void __devinit plx_init(struct pci_dev *pdev, int irq, | |||
3449 | pci_write_config_byte(pdev, PCI_INTERRUPT_LINE, irq); | 3449 | pci_write_config_byte(pdev, PCI_INTERRUPT_LINE, irq); |
3450 | } | 3450 | } |
3451 | 3451 | ||
3452 | static int __devinit __cyz_load_fw(const struct firmware *fw, | 3452 | static int __cyz_load_fw(const struct firmware *fw, |
3453 | const char *name, const u32 mailbox, void __iomem *base, | 3453 | const char *name, const u32 mailbox, void __iomem *base, |
3454 | void __iomem *fpga) | 3454 | void __iomem *fpga) |
3455 | { | 3455 | { |
@@ -3526,7 +3526,7 @@ static int __devinit __cyz_load_fw(const struct firmware *fw, | |||
3526 | return 0; | 3526 | return 0; |
3527 | } | 3527 | } |
3528 | 3528 | ||
3529 | static int __devinit cyz_load_fw(struct pci_dev *pdev, void __iomem *base_addr, | 3529 | static int cyz_load_fw(struct pci_dev *pdev, void __iomem *base_addr, |
3530 | struct RUNTIME_9060 __iomem *ctl_addr, int irq) | 3530 | struct RUNTIME_9060 __iomem *ctl_addr, int irq) |
3531 | { | 3531 | { |
3532 | const struct firmware *fw; | 3532 | const struct firmware *fw; |
@@ -3692,7 +3692,7 @@ err: | |||
3692 | return retval; | 3692 | return retval; |
3693 | } | 3693 | } |
3694 | 3694 | ||
3695 | static int __devinit cy_pci_probe(struct pci_dev *pdev, | 3695 | static int cy_pci_probe(struct pci_dev *pdev, |
3696 | const struct pci_device_id *ent) | 3696 | const struct pci_device_id *ent) |
3697 | { | 3697 | { |
3698 | struct cyclades_card *card; | 3698 | struct cyclades_card *card; |
diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c index 4193afb74a02..c117d775a22f 100644 --- a/drivers/tty/ehv_bytechan.c +++ b/drivers/tty/ehv_bytechan.c | |||
@@ -699,7 +699,7 @@ static const struct tty_port_operations ehv_bc_tty_port_ops = { | |||
699 | .shutdown = ehv_bc_tty_port_shutdown, | 699 | .shutdown = ehv_bc_tty_port_shutdown, |
700 | }; | 700 | }; |
701 | 701 | ||
702 | static int __devinit ehv_bc_tty_probe(struct platform_device *pdev) | 702 | static int ehv_bc_tty_probe(struct platform_device *pdev) |
703 | { | 703 | { |
704 | struct device_node *np = pdev->dev.of_node; | 704 | struct device_node *np = pdev->dev.of_node; |
705 | struct ehv_bc_data *bc; | 705 | struct ehv_bc_data *bc; |
diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index 442bfb0d41da..79f2b5e17f8d 100644 --- a/drivers/tty/hvc/hvc_opal.c +++ b/drivers/tty/hvc/hvc_opal.c | |||
@@ -161,7 +161,7 @@ static const struct hv_ops hvc_opal_hvsi_ops = { | |||
161 | .tiocmset = hvc_opal_hvsi_tiocmset, | 161 | .tiocmset = hvc_opal_hvsi_tiocmset, |
162 | }; | 162 | }; |
163 | 163 | ||
164 | static int __devinit hvc_opal_probe(struct platform_device *dev) | 164 | static int hvc_opal_probe(struct platform_device *dev) |
165 | { | 165 | { |
166 | const struct hv_ops *ops; | 166 | const struct hv_ops *ops; |
167 | struct hvc_struct *hp; | 167 | struct hvc_struct *hp; |
diff --git a/drivers/tty/hvc/hvc_vio.c b/drivers/tty/hvc/hvc_vio.c index 070c0ee68642..77bde6c2cfa0 100644 --- a/drivers/tty/hvc/hvc_vio.c +++ b/drivers/tty/hvc/hvc_vio.c | |||
@@ -293,7 +293,7 @@ static int udbg_hvc_getc(void) | |||
293 | } | 293 | } |
294 | } | 294 | } |
295 | 295 | ||
296 | static int __devinit hvc_vio_probe(struct vio_dev *vdev, | 296 | static int hvc_vio_probe(struct vio_dev *vdev, |
297 | const struct vio_device_id *id) | 297 | const struct vio_device_id *id) |
298 | { | 298 | { |
299 | const struct hv_ops *ops; | 299 | const struct hv_ops *ops; |
diff --git a/drivers/tty/hvc/hvc_xen.c b/drivers/tty/hvc/hvc_xen.c index f4abfe238f98..19843ec3f80a 100644 --- a/drivers/tty/hvc/hvc_xen.c +++ b/drivers/tty/hvc/hvc_xen.c | |||
@@ -422,7 +422,7 @@ static int xencons_connect_backend(struct xenbus_device *dev, | |||
422 | return ret; | 422 | return ret; |
423 | } | 423 | } |
424 | 424 | ||
425 | static int __devinit xencons_probe(struct xenbus_device *dev, | 425 | static int xencons_probe(struct xenbus_device *dev, |
426 | const struct xenbus_device_id *id) | 426 | const struct xenbus_device_id *id) |
427 | { | 427 | { |
428 | int ret, devid; | 428 | int ret, devid; |
diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c index 888af583fe75..506a28e5564f 100644 --- a/drivers/tty/hvc/hvcs.c +++ b/drivers/tty/hvc/hvcs.c | |||
@@ -330,12 +330,12 @@ static int hvcs_open(struct tty_struct *tty, struct file *filp); | |||
330 | static void hvcs_close(struct tty_struct *tty, struct file *filp); | 330 | static void hvcs_close(struct tty_struct *tty, struct file *filp); |
331 | static void hvcs_hangup(struct tty_struct * tty); | 331 | static void hvcs_hangup(struct tty_struct * tty); |
332 | 332 | ||
333 | static int __devinit hvcs_probe(struct vio_dev *dev, | 333 | static int hvcs_probe(struct vio_dev *dev, |
334 | const struct vio_device_id *id); | 334 | const struct vio_device_id *id); |
335 | static int __devexit hvcs_remove(struct vio_dev *dev); | 335 | static int __devexit hvcs_remove(struct vio_dev *dev); |
336 | static int __init hvcs_module_init(void); | 336 | static int __init hvcs_module_init(void); |
337 | static void __exit hvcs_module_exit(void); | 337 | static void __exit hvcs_module_exit(void); |
338 | static int __devinit hvcs_initialize(void); | 338 | static int hvcs_initialize(void); |
339 | 339 | ||
340 | #define HVCS_SCHED_READ 0x00000001 | 340 | #define HVCS_SCHED_READ 0x00000001 |
341 | #define HVCS_QUICK_READ 0x00000002 | 341 | #define HVCS_QUICK_READ 0x00000002 |
@@ -756,7 +756,7 @@ static int hvcs_get_index(void) | |||
756 | return -1; | 756 | return -1; |
757 | } | 757 | } |
758 | 758 | ||
759 | static int __devinit hvcs_probe( | 759 | static int hvcs_probe( |
760 | struct vio_dev *dev, | 760 | struct vio_dev *dev, |
761 | const struct vio_device_id *id) | 761 | const struct vio_device_id *id) |
762 | { | 762 | { |
@@ -1478,7 +1478,7 @@ static void hvcs_free_index_list(void) | |||
1478 | hvcs_index_count = 0; | 1478 | hvcs_index_count = 0; |
1479 | } | 1479 | } |
1480 | 1480 | ||
1481 | static int __devinit hvcs_initialize(void) | 1481 | static int hvcs_initialize(void) |
1482 | { | 1482 | { |
1483 | int rc, num_ttys_to_alloc; | 1483 | int rc, num_ttys_to_alloc; |
1484 | 1484 | ||
diff --git a/drivers/tty/isicom.c b/drivers/tty/isicom.c index 774e595e1fba..82661889b322 100644 --- a/drivers/tty/isicom.c +++ b/drivers/tty/isicom.c | |||
@@ -1307,7 +1307,7 @@ static const struct tty_port_operations isicom_port_ops = { | |||
1307 | .shutdown = isicom_shutdown, | 1307 | .shutdown = isicom_shutdown, |
1308 | }; | 1308 | }; |
1309 | 1309 | ||
1310 | static int __devinit reset_card(struct pci_dev *pdev, | 1310 | static int reset_card(struct pci_dev *pdev, |
1311 | const unsigned int card, unsigned int *signature) | 1311 | const unsigned int card, unsigned int *signature) |
1312 | { | 1312 | { |
1313 | struct isi_board *board = pci_get_drvdata(pdev); | 1313 | struct isi_board *board = pci_get_drvdata(pdev); |
@@ -1368,7 +1368,7 @@ end: | |||
1368 | return retval; | 1368 | return retval; |
1369 | } | 1369 | } |
1370 | 1370 | ||
1371 | static int __devinit load_firmware(struct pci_dev *pdev, | 1371 | static int load_firmware(struct pci_dev *pdev, |
1372 | const unsigned int index, const unsigned int signature) | 1372 | const unsigned int index, const unsigned int signature) |
1373 | { | 1373 | { |
1374 | struct isi_board *board = pci_get_drvdata(pdev); | 1374 | struct isi_board *board = pci_get_drvdata(pdev); |
@@ -1548,7 +1548,7 @@ end: | |||
1548 | */ | 1548 | */ |
1549 | static unsigned int card_count; | 1549 | static unsigned int card_count; |
1550 | 1550 | ||
1551 | static int __devinit isicom_probe(struct pci_dev *pdev, | 1551 | static int isicom_probe(struct pci_dev *pdev, |
1552 | const struct pci_device_id *ent) | 1552 | const struct pci_device_id *ent) |
1553 | { | 1553 | { |
1554 | unsigned int uninitialized_var(signature), index; | 1554 | unsigned int uninitialized_var(signature), index; |
diff --git a/drivers/tty/moxa.c b/drivers/tty/moxa.c index e025e065ae9c..60ea74e76d3a 100644 --- a/drivers/tty/moxa.c +++ b/drivers/tty/moxa.c | |||
@@ -945,7 +945,7 @@ static void moxa_board_deinit(struct moxa_board_conf *brd) | |||
945 | } | 945 | } |
946 | 946 | ||
947 | #ifdef CONFIG_PCI | 947 | #ifdef CONFIG_PCI |
948 | static int __devinit moxa_pci_probe(struct pci_dev *pdev, | 948 | static int moxa_pci_probe(struct pci_dev *pdev, |
949 | const struct pci_device_id *ent) | 949 | const struct pci_device_id *ent) |
950 | { | 950 | { |
951 | struct moxa_board_conf *board; | 951 | struct moxa_board_conf *board; |
diff --git a/drivers/tty/mxser.c b/drivers/tty/mxser.c index a2fd58c336e4..7f5e0ccf96ea 100644 --- a/drivers/tty/mxser.c +++ b/drivers/tty/mxser.c | |||
@@ -487,7 +487,7 @@ static void mxser_disable_must_rx_software_flow_control(unsigned long baseio) | |||
487 | } | 487 | } |
488 | 488 | ||
489 | #ifdef CONFIG_PCI | 489 | #ifdef CONFIG_PCI |
490 | static int __devinit CheckIsMoxaMust(unsigned long io) | 490 | static int CheckIsMoxaMust(unsigned long io) |
491 | { | 491 | { |
492 | u8 oldmcr, hwid; | 492 | u8 oldmcr, hwid; |
493 | int i; | 493 | int i; |
@@ -2369,7 +2369,7 @@ static void mxser_release_ISA_res(struct mxser_board *brd) | |||
2369 | mxser_release_vector(brd); | 2369 | mxser_release_vector(brd); |
2370 | } | 2370 | } |
2371 | 2371 | ||
2372 | static int __devinit mxser_initbrd(struct mxser_board *brd, | 2372 | static int mxser_initbrd(struct mxser_board *brd, |
2373 | struct pci_dev *pdev) | 2373 | struct pci_dev *pdev) |
2374 | { | 2374 | { |
2375 | struct mxser_port *info; | 2375 | struct mxser_port *info; |
@@ -2547,7 +2547,7 @@ err_irqconflict: | |||
2547 | return -EIO; | 2547 | return -EIO; |
2548 | } | 2548 | } |
2549 | 2549 | ||
2550 | static int __devinit mxser_probe(struct pci_dev *pdev, | 2550 | static int mxser_probe(struct pci_dev *pdev, |
2551 | const struct pci_device_id *ent) | 2551 | const struct pci_device_id *ent) |
2552 | { | 2552 | { |
2553 | #ifdef CONFIG_PCI | 2553 | #ifdef CONFIG_PCI |
diff --git a/drivers/tty/nozomi.c b/drivers/tty/nozomi.c index 442efc3d2657..61de2a465473 100644 --- a/drivers/tty/nozomi.c +++ b/drivers/tty/nozomi.c | |||
@@ -1360,7 +1360,7 @@ static void remove_sysfs_files(struct nozomi *dc) | |||
1360 | } | 1360 | } |
1361 | 1361 | ||
1362 | /* Allocate memory for one device */ | 1362 | /* Allocate memory for one device */ |
1363 | static int __devinit nozomi_card_init(struct pci_dev *pdev, | 1363 | static int nozomi_card_init(struct pci_dev *pdev, |
1364 | const struct pci_device_id *ent) | 1364 | const struct pci_device_id *ent) |
1365 | { | 1365 | { |
1366 | resource_size_t start; | 1366 | resource_size_t start; |
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; |
diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index ef16b0aa383a..ef5c705fa2b3 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c | |||
@@ -406,7 +406,7 @@ static struct uart_driver altera_jtaguart_driver = { | |||
406 | .cons = ALTERA_JTAGUART_CONSOLE, | 406 | .cons = ALTERA_JTAGUART_CONSOLE, |
407 | }; | 407 | }; |
408 | 408 | ||
409 | static int __devinit altera_jtaguart_probe(struct platform_device *pdev) | 409 | static int altera_jtaguart_probe(struct platform_device *pdev) |
410 | { | 410 | { |
411 | struct altera_jtaguart_platform_uart *platp = pdev->dev.platform_data; | 411 | struct altera_jtaguart_platform_uart *platp = pdev->dev.platform_data; |
412 | struct uart_port *port; | 412 | struct uart_port *port; |
diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 117ea2c89630..066b5035e10a 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c | |||
@@ -532,7 +532,7 @@ static int altera_uart_get_of_uartclk(struct platform_device *pdev, | |||
532 | } | 532 | } |
533 | #endif /* CONFIG_OF */ | 533 | #endif /* CONFIG_OF */ |
534 | 534 | ||
535 | static int __devinit altera_uart_probe(struct platform_device *pdev) | 535 | static int altera_uart_probe(struct platform_device *pdev) |
536 | { | 536 | { |
537 | struct altera_uart_platform_uart *platp = pdev->dev.platform_data; | 537 | struct altera_uart_platform_uart *platp = pdev->dev.platform_data; |
538 | struct uart_port *port; | 538 | struct uart_port *port; |
diff --git a/drivers/tty/serial/apbuart.c b/drivers/tty/serial/apbuart.c index 7162f70d9260..59ae2b53e765 100644 --- a/drivers/tty/serial/apbuart.c +++ b/drivers/tty/serial/apbuart.c | |||
@@ -554,7 +554,7 @@ static struct uart_driver grlib_apbuart_driver = { | |||
554 | /* OF Platform Driver */ | 554 | /* OF Platform Driver */ |
555 | /* ======================================================================== */ | 555 | /* ======================================================================== */ |
556 | 556 | ||
557 | static int __devinit apbuart_probe(struct platform_device *op) | 557 | static int apbuart_probe(struct platform_device *op) |
558 | { | 558 | { |
559 | int i; | 559 | int i; |
560 | struct uart_port *port = NULL; | 560 | struct uart_port *port = NULL; |
diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c index 77115448af5f..ad171508b9a9 100644 --- a/drivers/tty/serial/ar933x_uart.c +++ b/drivers/tty/serial/ar933x_uart.c | |||
@@ -627,7 +627,7 @@ static struct uart_driver ar933x_uart_driver = { | |||
627 | .cons = AR933X_SERIAL_CONSOLE, | 627 | .cons = AR933X_SERIAL_CONSOLE, |
628 | }; | 628 | }; |
629 | 629 | ||
630 | static int __devinit ar933x_uart_probe(struct platform_device *pdev) | 630 | static int ar933x_uart_probe(struct platform_device *pdev) |
631 | { | 631 | { |
632 | struct ar933x_uart_platform_data *pdata; | 632 | struct ar933x_uart_platform_data *pdata; |
633 | struct ar933x_uart_port *up; | 633 | struct ar933x_uart_port *up; |
diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index d6525698db31..158d798a5203 100644 --- a/drivers/tty/serial/arc_uart.c +++ b/drivers/tty/serial/arc_uart.c | |||
@@ -525,7 +525,7 @@ static struct uart_ops arc_serial_pops = { | |||
525 | #endif | 525 | #endif |
526 | }; | 526 | }; |
527 | 527 | ||
528 | static int __devinit | 528 | static int |
529 | arc_uart_init_one(struct platform_device *pdev, struct arc_uart_port *uart) | 529 | arc_uart_init_one(struct platform_device *pdev, struct arc_uart_port *uart) |
530 | { | 530 | { |
531 | struct resource *res, *res2; | 531 | struct resource *res, *res2; |
@@ -577,7 +577,7 @@ arc_uart_init_one(struct platform_device *pdev, struct arc_uart_port *uart) | |||
577 | 577 | ||
578 | #ifdef CONFIG_SERIAL_ARC_CONSOLE | 578 | #ifdef CONFIG_SERIAL_ARC_CONSOLE |
579 | 579 | ||
580 | static int __devinit arc_serial_console_setup(struct console *co, char *options) | 580 | static int arc_serial_console_setup(struct console *co, char *options) |
581 | { | 581 | { |
582 | struct uart_port *port; | 582 | struct uart_port *port; |
583 | int baud = 115200; | 583 | int baud = 115200; |
@@ -655,7 +655,7 @@ static struct __initdata console arc_early_serial_console = { | |||
655 | .index = -1 | 655 | .index = -1 |
656 | }; | 656 | }; |
657 | 657 | ||
658 | static int __devinit arc_serial_probe_earlyprintk(struct platform_device *pdev) | 658 | static int arc_serial_probe_earlyprintk(struct platform_device *pdev) |
659 | { | 659 | { |
660 | arc_early_serial_console.index = pdev->id; | 660 | arc_early_serial_console.index = pdev->id; |
661 | 661 | ||
@@ -667,13 +667,13 @@ static int __devinit arc_serial_probe_earlyprintk(struct platform_device *pdev) | |||
667 | return 0; | 667 | return 0; |
668 | } | 668 | } |
669 | #else | 669 | #else |
670 | static int __devinit arc_serial_probe_earlyprintk(struct platform_device *pdev) | 670 | static int arc_serial_probe_earlyprintk(struct platform_device *pdev) |
671 | { | 671 | { |
672 | return -ENODEV; | 672 | return -ENODEV; |
673 | } | 673 | } |
674 | #endif /* CONFIG_SERIAL_ARC_CONSOLE */ | 674 | #endif /* CONFIG_SERIAL_ARC_CONSOLE */ |
675 | 675 | ||
676 | static int __devinit arc_serial_probe(struct platform_device *pdev) | 676 | static int arc_serial_probe(struct platform_device *pdev) |
677 | { | 677 | { |
678 | struct arc_uart_port *uart; | 678 | struct arc_uart_port *uart; |
679 | int rc; | 679 | int rc; |
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index 27eae4b2355a..02540cbf16a6 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c | |||
@@ -1423,7 +1423,7 @@ static struct uart_ops atmel_pops = { | |||
1423 | #endif | 1423 | #endif |
1424 | }; | 1424 | }; |
1425 | 1425 | ||
1426 | static void __devinit atmel_of_init_port(struct atmel_uart_port *atmel_port, | 1426 | static void atmel_of_init_port(struct atmel_uart_port *atmel_port, |
1427 | struct device_node *np) | 1427 | struct device_node *np) |
1428 | { | 1428 | { |
1429 | u32 rs485_delay[2]; | 1429 | u32 rs485_delay[2]; |
@@ -1458,7 +1458,7 @@ static void __devinit atmel_of_init_port(struct atmel_uart_port *atmel_port, | |||
1458 | /* | 1458 | /* |
1459 | * Configure the port from the platform device resource info. | 1459 | * Configure the port from the platform device resource info. |
1460 | */ | 1460 | */ |
1461 | static void __devinit atmel_init_port(struct atmel_uart_port *atmel_port, | 1461 | static void atmel_init_port(struct atmel_uart_port *atmel_port, |
1462 | struct platform_device *pdev) | 1462 | struct platform_device *pdev) |
1463 | { | 1463 | { |
1464 | struct uart_port *port = &atmel_port->uart; | 1464 | struct uart_port *port = &atmel_port->uart; |
@@ -1766,7 +1766,7 @@ static int atmel_serial_resume(struct platform_device *pdev) | |||
1766 | #define atmel_serial_resume NULL | 1766 | #define atmel_serial_resume NULL |
1767 | #endif | 1767 | #endif |
1768 | 1768 | ||
1769 | static int __devinit atmel_serial_probe(struct platform_device *pdev) | 1769 | static int atmel_serial_probe(struct platform_device *pdev) |
1770 | { | 1770 | { |
1771 | struct atmel_uart_port *port; | 1771 | struct atmel_uart_port *port; |
1772 | struct device_node *np = pdev->dev.of_node; | 1772 | struct device_node *np = pdev->dev.of_node; |
diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c index 7f631d4a5c44..e54d1703be1e 100644 --- a/drivers/tty/serial/bcm63xx_uart.c +++ b/drivers/tty/serial/bcm63xx_uart.c | |||
@@ -801,7 +801,7 @@ static struct uart_driver bcm_uart_driver = { | |||
801 | /* | 801 | /* |
802 | * platform driver probe/remove callback | 802 | * platform driver probe/remove callback |
803 | */ | 803 | */ |
804 | static int __devinit bcm_uart_probe(struct platform_device *pdev) | 804 | static int bcm_uart_probe(struct platform_device *pdev) |
805 | { | 805 | { |
806 | struct resource *res_mem, *res_irq; | 806 | struct resource *res_mem, *res_irq; |
807 | struct uart_port *port; | 807 | struct uart_port *port; |
diff --git a/drivers/tty/serial/bfin_sport_uart.c b/drivers/tty/serial/bfin_sport_uart.c index b4a18c7ffdf7..a47e00b056e7 100644 --- a/drivers/tty/serial/bfin_sport_uart.c +++ b/drivers/tty/serial/bfin_sport_uart.c | |||
@@ -740,7 +740,7 @@ static struct dev_pm_ops bfin_sport_uart_dev_pm_ops = { | |||
740 | }; | 740 | }; |
741 | #endif | 741 | #endif |
742 | 742 | ||
743 | static int __devinit sport_uart_probe(struct platform_device *pdev) | 743 | static int sport_uart_probe(struct platform_device *pdev) |
744 | { | 744 | { |
745 | struct resource *res; | 745 | struct resource *res; |
746 | struct sport_uart_port *sport; | 746 | struct sport_uart_port *sport; |
diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c index d631ef52f4f8..006d283bbded 100644 --- a/drivers/tty/serial/clps711x.c +++ b/drivers/tty/serial/clps711x.c | |||
@@ -429,7 +429,7 @@ static int uart_clps711x_console_setup(struct console *co, char *options) | |||
429 | } | 429 | } |
430 | #endif | 430 | #endif |
431 | 431 | ||
432 | static int __devinit uart_clps711x_probe(struct platform_device *pdev) | 432 | static int uart_clps711x_probe(struct platform_device *pdev) |
433 | { | 433 | { |
434 | struct clps711x_port *s; | 434 | struct clps711x_port *s; |
435 | int ret, i; | 435 | int ret, i; |
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c index d0dd9194cecc..de3f0f6eba74 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c | |||
@@ -1373,7 +1373,7 @@ static struct uart_driver cpm_reg = { | |||
1373 | 1373 | ||
1374 | static int probe_index; | 1374 | static int probe_index; |
1375 | 1375 | ||
1376 | static int __devinit cpm_uart_probe(struct platform_device *ofdev) | 1376 | static int cpm_uart_probe(struct platform_device *ofdev) |
1377 | { | 1377 | { |
1378 | int index = probe_index++; | 1378 | int index = probe_index++; |
1379 | struct uart_cpm_port *pinfo = &cpm_uart_ports[index]; | 1379 | struct uart_cpm_port *pinfo = &cpm_uart_ports[index]; |
diff --git a/drivers/tty/serial/efm32-uart.c b/drivers/tty/serial/efm32-uart.c index 1e8bacf95b70..833c33a2751a 100644 --- a/drivers/tty/serial/efm32-uart.c +++ b/drivers/tty/serial/efm32-uart.c | |||
@@ -690,7 +690,7 @@ static int efm32_uart_probe_dt(struct platform_device *pdev, | |||
690 | 690 | ||
691 | } | 691 | } |
692 | 692 | ||
693 | static int __devinit efm32_uart_probe(struct platform_device *pdev) | 693 | static int efm32_uart_probe(struct platform_device *pdev) |
694 | { | 694 | { |
695 | struct efm32_uart_port *efm_port; | 695 | struct efm32_uart_port *efm_port; |
696 | struct resource *res; | 696 | struct resource *res; |
diff --git a/drivers/tty/serial/icom.c b/drivers/tty/serial/icom.c index f0fc2fff1701..a8267956ac88 100644 --- a/drivers/tty/serial/icom.c +++ b/drivers/tty/serial/icom.c | |||
@@ -175,7 +175,7 @@ static void free_port_memory(struct icom_port *icom_port) | |||
175 | } | 175 | } |
176 | } | 176 | } |
177 | 177 | ||
178 | static int __devinit get_port_memory(struct icom_port *icom_port) | 178 | static int get_port_memory(struct icom_port *icom_port) |
179 | { | 179 | { |
180 | int index; | 180 | int index; |
181 | unsigned long stgAddr; | 181 | unsigned long stgAddr; |
@@ -1314,7 +1314,7 @@ static struct uart_driver icom_uart_driver = { | |||
1314 | .cons = ICOM_CONSOLE, | 1314 | .cons = ICOM_CONSOLE, |
1315 | }; | 1315 | }; |
1316 | 1316 | ||
1317 | static int __devinit icom_init_ports(struct icom_adapter *icom_adapter) | 1317 | static int icom_init_ports(struct icom_adapter *icom_adapter) |
1318 | { | 1318 | { |
1319 | u32 subsystem_id = icom_adapter->subsystem_id; | 1319 | u32 subsystem_id = icom_adapter->subsystem_id; |
1320 | int i; | 1320 | int i; |
@@ -1381,7 +1381,7 @@ static void icom_port_active(struct icom_port *icom_port, struct icom_adapter *i | |||
1381 | 0x8024 + 2 - 2 * (icom_port->port - 2); | 1381 | 0x8024 + 2 - 2 * (icom_port->port - 2); |
1382 | } | 1382 | } |
1383 | } | 1383 | } |
1384 | static int __devinit icom_load_ports(struct icom_adapter *icom_adapter) | 1384 | static int icom_load_ports(struct icom_adapter *icom_adapter) |
1385 | { | 1385 | { |
1386 | struct icom_port *icom_port; | 1386 | struct icom_port *icom_port; |
1387 | int port_num; | 1387 | int port_num; |
@@ -1407,7 +1407,7 @@ static int __devinit icom_load_ports(struct icom_adapter *icom_adapter) | |||
1407 | return 0; | 1407 | return 0; |
1408 | } | 1408 | } |
1409 | 1409 | ||
1410 | static int __devinit icom_alloc_adapter(struct icom_adapter | 1410 | static int icom_alloc_adapter(struct icom_adapter |
1411 | **icom_adapter_ref) | 1411 | **icom_adapter_ref) |
1412 | { | 1412 | { |
1413 | int adapter_count = 0; | 1413 | int adapter_count = 0; |
@@ -1487,7 +1487,7 @@ static void icom_kref_release(struct kref *kref) | |||
1487 | icom_remove_adapter(icom_adapter); | 1487 | icom_remove_adapter(icom_adapter); |
1488 | } | 1488 | } |
1489 | 1489 | ||
1490 | static int __devinit icom_probe(struct pci_dev *dev, | 1490 | static int icom_probe(struct pci_dev *dev, |
1491 | const struct pci_device_id *ent) | 1491 | const struct pci_device_id *ent) |
1492 | { | 1492 | { |
1493 | int index; | 1493 | int index; |
diff --git a/drivers/tty/serial/ioc3_serial.c b/drivers/tty/serial/ioc3_serial.c index 5ac52898a0bb..d8f1d1d54471 100644 --- a/drivers/tty/serial/ioc3_serial.c +++ b/drivers/tty/serial/ioc3_serial.c | |||
@@ -2010,7 +2010,7 @@ static int ioc3uart_remove(struct ioc3_submodule *is, | |||
2010 | * @idd: ioc3 driver data for this card | 2010 | * @idd: ioc3 driver data for this card |
2011 | */ | 2011 | */ |
2012 | 2012 | ||
2013 | static int __devinit | 2013 | static int |
2014 | ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd) | 2014 | ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd) |
2015 | { | 2015 | { |
2016 | struct pci_dev *pdev = idd->pdev; | 2016 | struct pci_dev *pdev = idd->pdev; |
diff --git a/drivers/tty/serial/jsm/jsm_driver.c b/drivers/tty/serial/jsm/jsm_driver.c index bbd459226ee0..5b57c8eecfc9 100644 --- a/drivers/tty/serial/jsm/jsm_driver.c +++ b/drivers/tty/serial/jsm/jsm_driver.c | |||
@@ -64,7 +64,7 @@ int jsm_debug; | |||
64 | module_param(jsm_debug, int, 0); | 64 | module_param(jsm_debug, int, 0); |
65 | MODULE_PARM_DESC(jsm_debug, "Driver debugging level"); | 65 | MODULE_PARM_DESC(jsm_debug, "Driver debugging level"); |
66 | 66 | ||
67 | static int __devinit jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent) | 67 | static int jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent) |
68 | { | 68 | { |
69 | int rc = 0; | 69 | int rc = 0; |
70 | struct jsm_board *brd; | 70 | struct jsm_board *brd; |
diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 7d2c1f3aa36b..4c00c5550b1a 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c | |||
@@ -371,7 +371,7 @@ static struct uart_ops jsm_ops = { | |||
371 | * Init the tty subsystem. Called once per board after board has been | 371 | * Init the tty subsystem. Called once per board after board has been |
372 | * downloaded and init'ed. | 372 | * downloaded and init'ed. |
373 | */ | 373 | */ |
374 | int __devinit jsm_tty_init(struct jsm_board *brd) | 374 | int jsm_tty_init(struct jsm_board *brd) |
375 | { | 375 | { |
376 | int i; | 376 | int i; |
377 | void __iomem *vaddr; | 377 | void __iomem *vaddr; |
diff --git a/drivers/tty/serial/lpc32xx_hs.c b/drivers/tty/serial/lpc32xx_hs.c index 7b0f5b4e592b..3651dab2009f 100644 --- a/drivers/tty/serial/lpc32xx_hs.c +++ b/drivers/tty/serial/lpc32xx_hs.c | |||
@@ -686,7 +686,7 @@ static struct uart_ops serial_lpc32xx_pops = { | |||
686 | /* | 686 | /* |
687 | * Register a set of serial devices attached to a platform device | 687 | * Register a set of serial devices attached to a platform device |
688 | */ | 688 | */ |
689 | static int __devinit serial_hs_lpc32xx_probe(struct platform_device *pdev) | 689 | static int serial_hs_lpc32xx_probe(struct platform_device *pdev) |
690 | { | 690 | { |
691 | struct lpc32xx_hsuart_port *p = &lpc32xx_hs_ports[uarts_registered]; | 691 | struct lpc32xx_hsuart_port *p = &lpc32xx_hs_ports[uarts_registered]; |
692 | int ret = 0; | 692 | int ret = 0; |
diff --git a/drivers/tty/serial/max3100.c b/drivers/tty/serial/max3100.c index 2ffd7f091cc0..8dd6189a40ee 100644 --- a/drivers/tty/serial/max3100.c +++ b/drivers/tty/serial/max3100.c | |||
@@ -742,7 +742,7 @@ static struct uart_driver max3100_uart_driver = { | |||
742 | }; | 742 | }; |
743 | static int uart_driver_registered; | 743 | static int uart_driver_registered; |
744 | 744 | ||
745 | static int __devinit max3100_probe(struct spi_device *spi) | 745 | static int max3100_probe(struct spi_device *spi) |
746 | { | 746 | { |
747 | int i, retval; | 747 | int i, retval; |
748 | struct plat_max3100 *pdata; | 748 | struct plat_max3100 *pdata; |
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index a332327163a3..88a227f9fe8c 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c | |||
@@ -378,7 +378,7 @@ static void max310x_wait_pll(struct max310x_port *s) | |||
378 | } | 378 | } |
379 | } | 379 | } |
380 | 380 | ||
381 | static int __devinit max310x_update_best_err(unsigned long f, long *besterr) | 381 | static int max310x_update_best_err(unsigned long f, long *besterr) |
382 | { | 382 | { |
383 | /* Use baudrate 115200 for calculate error */ | 383 | /* Use baudrate 115200 for calculate error */ |
384 | long err = f % (115200 * 16); | 384 | long err = f % (115200 * 16); |
@@ -391,7 +391,7 @@ static int __devinit max310x_update_best_err(unsigned long f, long *besterr) | |||
391 | return 1; | 391 | return 1; |
392 | } | 392 | } |
393 | 393 | ||
394 | static int __devinit max310x_set_ref_clk(struct max310x_port *s) | 394 | static int max310x_set_ref_clk(struct max310x_port *s) |
395 | { | 395 | { |
396 | unsigned int div, clksrc, pllcfg = 0; | 396 | unsigned int div, clksrc, pllcfg = 0; |
397 | long besterr = -1; | 397 | long besterr = -1; |
@@ -995,7 +995,7 @@ static struct max310x_pdata generic_plat_data = { | |||
995 | .frequency = 26000000, | 995 | .frequency = 26000000, |
996 | }; | 996 | }; |
997 | 997 | ||
998 | static int __devinit max310x_probe(struct spi_device *spi) | 998 | static int max310x_probe(struct spi_device *spi) |
999 | { | 999 | { |
1000 | struct max310x_port *s; | 1000 | struct max310x_port *s; |
1001 | struct device *dev = &spi->dev; | 1001 | struct device *dev = &spi->dev; |
diff --git a/drivers/tty/serial/mcf.c b/drivers/tty/serial/mcf.c index e3de7856afb3..e2b93d2f8f8c 100644 --- a/drivers/tty/serial/mcf.c +++ b/drivers/tty/serial/mcf.c | |||
@@ -571,7 +571,7 @@ static struct uart_driver mcf_driver = { | |||
571 | 571 | ||
572 | /****************************************************************************/ | 572 | /****************************************************************************/ |
573 | 573 | ||
574 | static int __devinit mcf_probe(struct platform_device *pdev) | 574 | static int mcf_probe(struct platform_device *pdev) |
575 | { | 575 | { |
576 | struct mcf_platform_uart *platp = pdev->dev.platform_data; | 576 | struct mcf_platform_uart *platp = pdev->dev.platform_data; |
577 | struct uart_port *port; | 577 | struct uart_port *port; |
diff --git a/drivers/tty/serial/mpc52xx_uart.c b/drivers/tty/serial/mpc52xx_uart.c index 8cf577008ad7..7c23c4f4c58d 100644 --- a/drivers/tty/serial/mpc52xx_uart.c +++ b/drivers/tty/serial/mpc52xx_uart.c | |||
@@ -1308,7 +1308,7 @@ static struct of_device_id mpc52xx_uart_of_match[] = { | |||
1308 | {}, | 1308 | {}, |
1309 | }; | 1309 | }; |
1310 | 1310 | ||
1311 | static int __devinit mpc52xx_uart_of_probe(struct platform_device *op) | 1311 | static int mpc52xx_uart_of_probe(struct platform_device *op) |
1312 | { | 1312 | { |
1313 | int idx = -1; | 1313 | int idx = -1; |
1314 | unsigned int uartclk; | 1314 | unsigned int uartclk; |
diff --git a/drivers/tty/serial/mrst_max3110.c b/drivers/tty/serial/mrst_max3110.c index 649ce126804e..41497fd3d360 100644 --- a/drivers/tty/serial/mrst_max3110.c +++ b/drivers/tty/serial/mrst_max3110.c | |||
@@ -773,7 +773,7 @@ static int serial_m3110_resume(struct spi_device *spi) | |||
773 | #define serial_m3110_resume NULL | 773 | #define serial_m3110_resume NULL |
774 | #endif | 774 | #endif |
775 | 775 | ||
776 | static int __devinit serial_m3110_probe(struct spi_device *spi) | 776 | static int serial_m3110_probe(struct spi_device *spi) |
777 | { | 777 | { |
778 | struct uart_max3110 *max; | 778 | struct uart_max3110 *max; |
779 | void *buffer; | 779 | void *buffer; |
diff --git a/drivers/tty/serial/msm_serial_hs.c b/drivers/tty/serial/msm_serial_hs.c index 1361ad5e1d56..02fb63e944eb 100644 --- a/drivers/tty/serial/msm_serial_hs.c +++ b/drivers/tty/serial/msm_serial_hs.c | |||
@@ -1521,7 +1521,7 @@ err_msm_hs_init_clk: | |||
1521 | } | 1521 | } |
1522 | 1522 | ||
1523 | /* Initialize tx and rx data structures */ | 1523 | /* Initialize tx and rx data structures */ |
1524 | static int __devinit uartdm_init_port(struct uart_port *uport) | 1524 | static int uartdm_init_port(struct uart_port *uport) |
1525 | { | 1525 | { |
1526 | int ret = 0; | 1526 | int ret = 0; |
1527 | struct msm_hs_port *msm_uport = UARTDM_TO_MSM(uport); | 1527 | struct msm_hs_port *msm_uport = UARTDM_TO_MSM(uport); |
@@ -1614,7 +1614,7 @@ err_tx_command_ptr_ptr: | |||
1614 | return ret; | 1614 | return ret; |
1615 | } | 1615 | } |
1616 | 1616 | ||
1617 | static int __devinit msm_hs_probe(struct platform_device *pdev) | 1617 | static int msm_hs_probe(struct platform_device *pdev) |
1618 | { | 1618 | { |
1619 | int ret; | 1619 | int ret; |
1620 | struct uart_port *uport; | 1620 | struct uart_port *uport; |
diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 479acc88c17e..18b55c2d1d2e 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c | |||
@@ -1046,7 +1046,7 @@ static int serial_mxs_probe_dt(struct mxs_auart_port *s, | |||
1046 | return 0; | 1046 | return 0; |
1047 | } | 1047 | } |
1048 | 1048 | ||
1049 | static int __devinit mxs_auart_probe(struct platform_device *pdev) | 1049 | static int mxs_auart_probe(struct platform_device *pdev) |
1050 | { | 1050 | { |
1051 | const struct of_device_id *of_id = | 1051 | const struct of_device_id *of_id = |
1052 | of_match_device(mxs_auart_dt_ids, &pdev->dev); | 1052 | of_match_device(mxs_auart_dt_ids, &pdev->dev); |
diff --git a/drivers/tty/serial/of_serial.c b/drivers/tty/serial/of_serial.c index b9fdccb22590..1bce344ca794 100644 --- a/drivers/tty/serial/of_serial.c +++ b/drivers/tty/serial/of_serial.c | |||
@@ -52,7 +52,7 @@ EXPORT_SYMBOL_GPL(tegra_serial_handle_break); | |||
52 | /* | 52 | /* |
53 | * Fill a struct uart_port for a given device node | 53 | * Fill a struct uart_port for a given device node |
54 | */ | 54 | */ |
55 | static int __devinit of_platform_serial_setup(struct platform_device *ofdev, | 55 | static int of_platform_serial_setup(struct platform_device *ofdev, |
56 | int type, struct uart_port *port, | 56 | int type, struct uart_port *port, |
57 | struct of_serial_info *info) | 57 | struct of_serial_info *info) |
58 | { | 58 | { |
@@ -138,7 +138,7 @@ out: | |||
138 | * Try to register a serial port | 138 | * Try to register a serial port |
139 | */ | 139 | */ |
140 | static struct of_device_id of_platform_serial_table[]; | 140 | static struct of_device_id of_platform_serial_table[]; |
141 | static int __devinit of_platform_serial_probe(struct platform_device *ofdev) | 141 | static int of_platform_serial_probe(struct platform_device *ofdev) |
142 | { | 142 | { |
143 | const struct of_device_id *match; | 143 | const struct of_device_id *match; |
144 | struct of_serial_info *info; | 144 | struct of_serial_info *info; |
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 24e2375c5792..e777b16c4d17 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c | |||
@@ -1238,7 +1238,7 @@ static int serial_omap_resume(struct device *dev) | |||
1238 | } | 1238 | } |
1239 | #endif | 1239 | #endif |
1240 | 1240 | ||
1241 | static void __devinit omap_serial_fill_features_erratas(struct uart_omap_port *up) | 1241 | static void omap_serial_fill_features_erratas(struct uart_omap_port *up) |
1242 | { | 1242 | { |
1243 | u32 mvr, scheme; | 1243 | u32 mvr, scheme; |
1244 | u16 revision, major, minor; | 1244 | u16 revision, major, minor; |
@@ -1291,7 +1291,7 @@ static void __devinit omap_serial_fill_features_erratas(struct uart_omap_port *u | |||
1291 | } | 1291 | } |
1292 | } | 1292 | } |
1293 | 1293 | ||
1294 | static __devinit struct omap_uart_port_info *of_get_uart_port_info(struct device *dev) | 1294 | static struct omap_uart_port_info *of_get_uart_port_info(struct device *dev) |
1295 | { | 1295 | { |
1296 | struct omap_uart_port_info *omap_up_info; | 1296 | struct omap_uart_port_info *omap_up_info; |
1297 | 1297 | ||
@@ -1304,7 +1304,7 @@ static __devinit struct omap_uart_port_info *of_get_uart_port_info(struct device | |||
1304 | return omap_up_info; | 1304 | return omap_up_info; |
1305 | } | 1305 | } |
1306 | 1306 | ||
1307 | static int __devinit serial_omap_probe(struct platform_device *pdev) | 1307 | static int serial_omap_probe(struct platform_device *pdev) |
1308 | { | 1308 | { |
1309 | struct uart_omap_port *up; | 1309 | struct uart_omap_port *up; |
1310 | struct resource *mem, *irq; | 1310 | struct resource *mem, *irq; |
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c index f5fb9bd1a14a..8318925fbf6b 100644 --- a/drivers/tty/serial/pch_uart.c +++ b/drivers/tty/serial/pch_uart.c | |||
@@ -1839,7 +1839,7 @@ static DEFINE_PCI_DEVICE_TABLE(pch_uart_pci_id) = { | |||
1839 | {0,}, | 1839 | {0,}, |
1840 | }; | 1840 | }; |
1841 | 1841 | ||
1842 | static int __devinit pch_uart_pci_probe(struct pci_dev *pdev, | 1842 | static int pch_uart_pci_probe(struct pci_dev *pdev, |
1843 | const struct pci_device_id *id) | 1843 | const struct pci_device_id *id) |
1844 | { | 1844 | { |
1845 | int ret; | 1845 | int ret; |
diff --git a/drivers/tty/serial/sa1100.c b/drivers/tty/serial/sa1100.c index 2ca5959ec3fa..da56c8a0fdc9 100644 --- a/drivers/tty/serial/sa1100.c +++ b/drivers/tty/serial/sa1100.c | |||
@@ -637,7 +637,7 @@ static void __init sa1100_init_ports(void) | |||
637 | PPSR |= PPC_TXD1 | PPC_TXD3; | 637 | PPSR |= PPC_TXD1 | PPC_TXD3; |
638 | } | 638 | } |
639 | 639 | ||
640 | void __devinit sa1100_register_uart_fns(struct sa1100_port_fns *fns) | 640 | void sa1100_register_uart_fns(struct sa1100_port_fns *fns) |
641 | { | 641 | { |
642 | if (fns->get_mctrl) | 642 | if (fns->get_mctrl) |
643 | sa1100_pops.get_mctrl = fns->get_mctrl; | 643 | sa1100_pops.get_mctrl = fns->get_mctrl; |
diff --git a/drivers/tty/serial/sc26xx.c b/drivers/tty/serial/sc26xx.c index 9a40659ec52f..aced1dd923d8 100644 --- a/drivers/tty/serial/sc26xx.c +++ b/drivers/tty/serial/sc26xx.c | |||
@@ -621,7 +621,7 @@ static u8 sc26xx_flags2mask(unsigned int flags, unsigned int bitpos) | |||
621 | return bit ? (1 << (bit - 1)) : 0; | 621 | return bit ? (1 << (bit - 1)) : 0; |
622 | } | 622 | } |
623 | 623 | ||
624 | static void __devinit sc26xx_init_masks(struct uart_sc26xx_port *up, | 624 | static void sc26xx_init_masks(struct uart_sc26xx_port *up, |
625 | int line, unsigned int data) | 625 | int line, unsigned int data) |
626 | { | 626 | { |
627 | up->dtr_mask[line] = sc26xx_flags2mask(data, 0); | 627 | up->dtr_mask[line] = sc26xx_flags2mask(data, 0); |
@@ -632,7 +632,7 @@ static void __devinit sc26xx_init_masks(struct uart_sc26xx_port *up, | |||
632 | up->ri_mask[line] = sc26xx_flags2mask(data, 20); | 632 | up->ri_mask[line] = sc26xx_flags2mask(data, 20); |
633 | } | 633 | } |
634 | 634 | ||
635 | static int __devinit sc26xx_probe(struct platform_device *dev) | 635 | static int sc26xx_probe(struct platform_device *dev) |
636 | { | 636 | { |
637 | struct resource *res; | 637 | struct resource *res; |
638 | struct uart_sc26xx_port *up; | 638 | struct uart_sc26xx_port *up; |
diff --git a/drivers/tty/serial/sccnxp.c b/drivers/tty/serial/sccnxp.c index 810853f5fd0e..1ddace83263f 100644 --- a/drivers/tty/serial/sccnxp.c +++ b/drivers/tty/serial/sccnxp.c | |||
@@ -740,7 +740,7 @@ static int sccnxp_console_setup(struct console *co, char *options) | |||
740 | } | 740 | } |
741 | #endif | 741 | #endif |
742 | 742 | ||
743 | static int __devinit sccnxp_probe(struct platform_device *pdev) | 743 | static int sccnxp_probe(struct platform_device *pdev) |
744 | { | 744 | { |
745 | struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 745 | struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
746 | int chiptype = pdev->id_entry->driver_data; | 746 | int chiptype = pdev->id_entry->driver_data; |
diff --git a/drivers/tty/serial/serial_txx9.c b/drivers/tty/serial/serial_txx9.c index 9d979a9e41a2..23b28b8f4670 100644 --- a/drivers/tty/serial/serial_txx9.c +++ b/drivers/tty/serial/serial_txx9.c | |||
@@ -1030,7 +1030,7 @@ static DEFINE_MUTEX(serial_txx9_mutex); | |||
1030 | * | 1030 | * |
1031 | * On success the port is ready to use and the line number is returned. | 1031 | * On success the port is ready to use and the line number is returned. |
1032 | */ | 1032 | */ |
1033 | static int __devinit serial_txx9_register_port(struct uart_port *port) | 1033 | static int serial_txx9_register_port(struct uart_port *port) |
1034 | { | 1034 | { |
1035 | int i; | 1035 | int i; |
1036 | struct uart_txx9_port *uart; | 1036 | struct uart_txx9_port *uart; |
@@ -1096,7 +1096,7 @@ static void __devexit serial_txx9_unregister_port(int line) | |||
1096 | /* | 1096 | /* |
1097 | * Register a set of serial devices attached to a platform device. | 1097 | * Register a set of serial devices attached to a platform device. |
1098 | */ | 1098 | */ |
1099 | static int __devinit serial_txx9_probe(struct platform_device *dev) | 1099 | static int serial_txx9_probe(struct platform_device *dev) |
1100 | { | 1100 | { |
1101 | struct uart_port *p = dev->dev.platform_data; | 1101 | struct uart_port *p = dev->dev.platform_data; |
1102 | struct uart_port port; | 1102 | struct uart_port port; |
@@ -1187,7 +1187,7 @@ static struct platform_driver serial_txx9_plat_driver = { | |||
1187 | * Probe one serial board. Unfortunately, there is no rhyme nor reason | 1187 | * Probe one serial board. Unfortunately, there is no rhyme nor reason |
1188 | * to the arrangement of serial ports on a PCI card. | 1188 | * to the arrangement of serial ports on a PCI card. |
1189 | */ | 1189 | */ |
1190 | static int __devinit | 1190 | static int |
1191 | pciserial_txx9_init_one(struct pci_dev *dev, const struct pci_device_id *ent) | 1191 | pciserial_txx9_init_one(struct pci_dev *dev, const struct pci_device_id *ent) |
1192 | { | 1192 | { |
1193 | struct uart_port port; | 1193 | struct uart_port port; |
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index d38c0f546032..61477567423f 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c | |||
@@ -1126,7 +1126,7 @@ static const char *sci_gpio_str(unsigned int index) | |||
1126 | return sci_gpio_names[index]; | 1126 | return sci_gpio_names[index]; |
1127 | } | 1127 | } |
1128 | 1128 | ||
1129 | static void __devinit sci_init_gpios(struct sci_port *port) | 1129 | static void sci_init_gpios(struct sci_port *port) |
1130 | { | 1130 | { |
1131 | struct uart_port *up = &port->port; | 1131 | struct uart_port *up = &port->port; |
1132 | int i; | 1132 | int i; |
@@ -2069,7 +2069,7 @@ static struct uart_ops sci_uart_ops = { | |||
2069 | #endif | 2069 | #endif |
2070 | }; | 2070 | }; |
2071 | 2071 | ||
2072 | static int __devinit sci_init_single(struct platform_device *dev, | 2072 | static int sci_init_single(struct platform_device *dev, |
2073 | struct sci_port *sci_port, | 2073 | struct sci_port *sci_port, |
2074 | unsigned int index, | 2074 | unsigned int index, |
2075 | struct plat_sci_port *p) | 2075 | struct plat_sci_port *p) |
@@ -2240,7 +2240,7 @@ static void serial_console_write(struct console *co, const char *s, | |||
2240 | local_irq_restore(flags); | 2240 | local_irq_restore(flags); |
2241 | } | 2241 | } |
2242 | 2242 | ||
2243 | static int __devinit serial_console_setup(struct console *co, char *options) | 2243 | static int serial_console_setup(struct console *co, char *options) |
2244 | { | 2244 | { |
2245 | struct sci_port *sci_port; | 2245 | struct sci_port *sci_port; |
2246 | struct uart_port *port; | 2246 | struct uart_port *port; |
@@ -2294,7 +2294,7 @@ static struct console early_serial_console = { | |||
2294 | 2294 | ||
2295 | static char early_serial_buf[32]; | 2295 | static char early_serial_buf[32]; |
2296 | 2296 | ||
2297 | static int __devinit sci_probe_earlyprintk(struct platform_device *pdev) | 2297 | static int sci_probe_earlyprintk(struct platform_device *pdev) |
2298 | { | 2298 | { |
2299 | struct plat_sci_port *cfg = pdev->dev.platform_data; | 2299 | struct plat_sci_port *cfg = pdev->dev.platform_data; |
2300 | 2300 | ||
@@ -2317,7 +2317,7 @@ static int __devinit sci_probe_earlyprintk(struct platform_device *pdev) | |||
2317 | #define SCI_CONSOLE (&serial_console) | 2317 | #define SCI_CONSOLE (&serial_console) |
2318 | 2318 | ||
2319 | #else | 2319 | #else |
2320 | static inline int __devinit sci_probe_earlyprintk(struct platform_device *pdev) | 2320 | static inline int sci_probe_earlyprintk(struct platform_device *pdev) |
2321 | { | 2321 | { |
2322 | return -EINVAL; | 2322 | return -EINVAL; |
2323 | } | 2323 | } |
@@ -2353,7 +2353,7 @@ static int sci_remove(struct platform_device *dev) | |||
2353 | return 0; | 2353 | return 0; |
2354 | } | 2354 | } |
2355 | 2355 | ||
2356 | static int __devinit sci_probe_single(struct platform_device *dev, | 2356 | static int sci_probe_single(struct platform_device *dev, |
2357 | unsigned int index, | 2357 | unsigned int index, |
2358 | struct plat_sci_port *p, | 2358 | struct plat_sci_port *p, |
2359 | struct sci_port *sciport) | 2359 | struct sci_port *sciport) |
@@ -2383,7 +2383,7 @@ static int __devinit sci_probe_single(struct platform_device *dev, | |||
2383 | return 0; | 2383 | return 0; |
2384 | } | 2384 | } |
2385 | 2385 | ||
2386 | static int __devinit sci_probe(struct platform_device *dev) | 2386 | static int sci_probe(struct platform_device *dev) |
2387 | { | 2387 | { |
2388 | struct plat_sci_port *p = dev->dev.platform_data; | 2388 | struct plat_sci_port *p = dev->dev.platform_data; |
2389 | struct sci_port *sp = &sci_ports[dev->id]; | 2389 | struct sci_port *sp = &sci_ports[dev->id]; |
diff --git a/drivers/tty/serial/sunhv.c b/drivers/tty/serial/sunhv.c index 949b2d3dcc55..cb58867036a0 100644 --- a/drivers/tty/serial/sunhv.c +++ b/drivers/tty/serial/sunhv.c | |||
@@ -519,7 +519,7 @@ static struct console sunhv_console = { | |||
519 | .data = &sunhv_reg, | 519 | .data = &sunhv_reg, |
520 | }; | 520 | }; |
521 | 521 | ||
522 | static int __devinit hv_probe(struct platform_device *op) | 522 | static int hv_probe(struct platform_device *op) |
523 | { | 523 | { |
524 | struct uart_port *port; | 524 | struct uart_port *port; |
525 | unsigned long minor; | 525 | unsigned long minor; |
diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c index bbb07bc74f6c..9a13c54d5f8a 100644 --- a/drivers/tty/serial/sunsab.c +++ b/drivers/tty/serial/sunsab.c | |||
@@ -954,7 +954,7 @@ static inline struct console *SUNSAB_CONSOLE(void) | |||
954 | #define sunsab_console_init() do { } while (0) | 954 | #define sunsab_console_init() do { } while (0) |
955 | #endif | 955 | #endif |
956 | 956 | ||
957 | static int __devinit sunsab_init_one(struct uart_sunsab_port *up, | 957 | static int sunsab_init_one(struct uart_sunsab_port *up, |
958 | struct platform_device *op, | 958 | struct platform_device *op, |
959 | unsigned long offset, | 959 | unsigned long offset, |
960 | int line) | 960 | int line) |
@@ -1007,7 +1007,7 @@ static int __devinit sunsab_init_one(struct uart_sunsab_port *up, | |||
1007 | return 0; | 1007 | return 0; |
1008 | } | 1008 | } |
1009 | 1009 | ||
1010 | static int __devinit sab_probe(struct platform_device *op) | 1010 | static int sab_probe(struct platform_device *op) |
1011 | { | 1011 | { |
1012 | static int inst; | 1012 | static int inst; |
1013 | struct uart_sunsab_port *up; | 1013 | struct uart_sunsab_port *up; |
diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c index c0658f0b51a1..049bbc5bc769 100644 --- a/drivers/tty/serial/sunsu.c +++ b/drivers/tty/serial/sunsu.c | |||
@@ -1185,7 +1185,7 @@ static struct uart_driver sunsu_reg = { | |||
1185 | .major = TTY_MAJOR, | 1185 | .major = TTY_MAJOR, |
1186 | }; | 1186 | }; |
1187 | 1187 | ||
1188 | static int __devinit sunsu_kbd_ms_init(struct uart_sunsu_port *up) | 1188 | static int sunsu_kbd_ms_init(struct uart_sunsu_port *up) |
1189 | { | 1189 | { |
1190 | int quot, baud; | 1190 | int quot, baud; |
1191 | #ifdef CONFIG_SERIO | 1191 | #ifdef CONFIG_SERIO |
@@ -1391,7 +1391,7 @@ static inline struct console *SUNSU_CONSOLE(void) | |||
1391 | #define sunsu_serial_console_init() do { } while (0) | 1391 | #define sunsu_serial_console_init() do { } while (0) |
1392 | #endif | 1392 | #endif |
1393 | 1393 | ||
1394 | static enum su_type __devinit su_get_type(struct device_node *dp) | 1394 | static enum su_type su_get_type(struct device_node *dp) |
1395 | { | 1395 | { |
1396 | struct device_node *ap = of_find_node_by_path("/aliases"); | 1396 | struct device_node *ap = of_find_node_by_path("/aliases"); |
1397 | 1397 | ||
@@ -1412,7 +1412,7 @@ static enum su_type __devinit su_get_type(struct device_node *dp) | |||
1412 | return SU_PORT_PORT; | 1412 | return SU_PORT_PORT; |
1413 | } | 1413 | } |
1414 | 1414 | ||
1415 | static int __devinit su_probe(struct platform_device *op) | 1415 | static int su_probe(struct platform_device *op) |
1416 | { | 1416 | { |
1417 | static int inst; | 1417 | static int inst; |
1418 | struct device_node *dp = op->dev.of_node; | 1418 | struct device_node *dp = op->dev.of_node; |
diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c index c2ef47594d69..02c058fbefe5 100644 --- a/drivers/tty/serial/sunzilog.c +++ b/drivers/tty/serial/sunzilog.c | |||
@@ -1282,7 +1282,7 @@ static inline struct console *SUNZILOG_CONSOLE(void) | |||
1282 | #define SUNZILOG_CONSOLE() (NULL) | 1282 | #define SUNZILOG_CONSOLE() (NULL) |
1283 | #endif | 1283 | #endif |
1284 | 1284 | ||
1285 | static void __devinit sunzilog_init_kbdms(struct uart_sunzilog_port *up) | 1285 | static void sunzilog_init_kbdms(struct uart_sunzilog_port *up) |
1286 | { | 1286 | { |
1287 | int baud, brg; | 1287 | int baud, brg; |
1288 | 1288 | ||
@@ -1302,7 +1302,7 @@ static void __devinit sunzilog_init_kbdms(struct uart_sunzilog_port *up) | |||
1302 | } | 1302 | } |
1303 | 1303 | ||
1304 | #ifdef CONFIG_SERIO | 1304 | #ifdef CONFIG_SERIO |
1305 | static void __devinit sunzilog_register_serio(struct uart_sunzilog_port *up) | 1305 | static void sunzilog_register_serio(struct uart_sunzilog_port *up) |
1306 | { | 1306 | { |
1307 | struct serio *serio = &up->serio; | 1307 | struct serio *serio = &up->serio; |
1308 | 1308 | ||
@@ -1331,7 +1331,7 @@ static void __devinit sunzilog_register_serio(struct uart_sunzilog_port *up) | |||
1331 | } | 1331 | } |
1332 | #endif | 1332 | #endif |
1333 | 1333 | ||
1334 | static void __devinit sunzilog_init_hw(struct uart_sunzilog_port *up) | 1334 | static void sunzilog_init_hw(struct uart_sunzilog_port *up) |
1335 | { | 1335 | { |
1336 | struct zilog_channel __iomem *channel; | 1336 | struct zilog_channel __iomem *channel; |
1337 | unsigned long flags; | 1337 | unsigned long flags; |
@@ -1400,7 +1400,7 @@ static void __devinit sunzilog_init_hw(struct uart_sunzilog_port *up) | |||
1400 | 1400 | ||
1401 | static int zilog_irq; | 1401 | static int zilog_irq; |
1402 | 1402 | ||
1403 | static int __devinit zs_probe(struct platform_device *op) | 1403 | static int zs_probe(struct platform_device *op) |
1404 | { | 1404 | { |
1405 | static int kbm_inst, uart_inst; | 1405 | static int kbm_inst, uart_inst; |
1406 | int inst; | 1406 | int inst; |
diff --git a/drivers/tty/serial/timbuart.c b/drivers/tty/serial/timbuart.c index 5fc11f2a8be4..c833f50980b6 100644 --- a/drivers/tty/serial/timbuart.c +++ b/drivers/tty/serial/timbuart.c | |||
@@ -426,7 +426,7 @@ static struct uart_driver timbuart_driver = { | |||
426 | .nr = 1 | 426 | .nr = 1 |
427 | }; | 427 | }; |
428 | 428 | ||
429 | static int __devinit timbuart_probe(struct platform_device *dev) | 429 | static int timbuart_probe(struct platform_device *dev) |
430 | { | 430 | { |
431 | int err, irq; | 431 | int err, irq; |
432 | struct timbuart_port *uart; | 432 | struct timbuart_port *uart; |
diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c index 1d4438306ae5..df9eeb451ae9 100644 --- a/drivers/tty/serial/uartlite.c +++ b/drivers/tty/serial/uartlite.c | |||
@@ -408,7 +408,7 @@ static void ulite_console_write(struct console *co, const char *s, | |||
408 | spin_unlock_irqrestore(&port->lock, flags); | 408 | spin_unlock_irqrestore(&port->lock, flags); |
409 | } | 409 | } |
410 | 410 | ||
411 | static int __devinit ulite_console_setup(struct console *co, char *options) | 411 | static int ulite_console_setup(struct console *co, char *options) |
412 | { | 412 | { |
413 | struct uart_port *port; | 413 | struct uart_port *port; |
414 | int baud = 9600; | 414 | int baud = 9600; |
@@ -486,7 +486,7 @@ static struct uart_driver ulite_uart_driver = { | |||
486 | * | 486 | * |
487 | * Returns: 0 on success, <0 otherwise | 487 | * Returns: 0 on success, <0 otherwise |
488 | */ | 488 | */ |
489 | static int __devinit ulite_assign(struct device *dev, int id, u32 base, int irq) | 489 | static int ulite_assign(struct device *dev, int id, u32 base, int irq) |
490 | { | 490 | { |
491 | struct uart_port *port; | 491 | struct uart_port *port; |
492 | int rc; | 492 | int rc; |
@@ -570,7 +570,7 @@ static struct of_device_id ulite_of_match[] __devinitdata = { | |||
570 | MODULE_DEVICE_TABLE(of, ulite_of_match); | 570 | MODULE_DEVICE_TABLE(of, ulite_of_match); |
571 | #endif /* CONFIG_OF */ | 571 | #endif /* CONFIG_OF */ |
572 | 572 | ||
573 | static int __devinit ulite_probe(struct platform_device *pdev) | 573 | static int ulite_probe(struct platform_device *pdev) |
574 | { | 574 | { |
575 | struct resource *res, *res2; | 575 | struct resource *res, *res2; |
576 | int id = pdev->id; | 576 | int id = pdev->id; |
diff --git a/drivers/tty/serial/vr41xx_siu.c b/drivers/tty/serial/vr41xx_siu.c index 9d3bf75e55a4..c046c995534a 100644 --- a/drivers/tty/serial/vr41xx_siu.c +++ b/drivers/tty/serial/vr41xx_siu.c | |||
@@ -823,7 +823,7 @@ static struct console siu_console = { | |||
823 | .data = &siu_uart_driver, | 823 | .data = &siu_uart_driver, |
824 | }; | 824 | }; |
825 | 825 | ||
826 | static int __devinit siu_console_init(void) | 826 | static int siu_console_init(void) |
827 | { | 827 | { |
828 | struct uart_port *port; | 828 | struct uart_port *port; |
829 | int i; | 829 | int i; |
@@ -867,7 +867,7 @@ static struct uart_driver siu_uart_driver = { | |||
867 | .cons = SERIAL_VR41XX_CONSOLE, | 867 | .cons = SERIAL_VR41XX_CONSOLE, |
868 | }; | 868 | }; |
869 | 869 | ||
870 | static int __devinit siu_probe(struct platform_device *dev) | 870 | static int siu_probe(struct platform_device *dev) |
871 | { | 871 | { |
872 | struct uart_port *port; | 872 | struct uart_port *port; |
873 | int num, i, retval; | 873 | int num, i, retval; |
diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index dbcc909291b2..80530c7d0025 100644 --- a/drivers/tty/serial/vt8500_serial.c +++ b/drivers/tty/serial/vt8500_serial.c | |||
@@ -554,7 +554,7 @@ static struct uart_driver vt8500_uart_driver = { | |||
554 | .cons = VT8500_CONSOLE, | 554 | .cons = VT8500_CONSOLE, |
555 | }; | 555 | }; |
556 | 556 | ||
557 | static int __devinit vt8500_serial_probe(struct platform_device *pdev) | 557 | static int vt8500_serial_probe(struct platform_device *pdev) |
558 | { | 558 | { |
559 | struct vt8500_port *vt8500_port; | 559 | struct vt8500_port *vt8500_port; |
560 | struct resource *mmres, *irqres; | 560 | struct resource *mmres, *irqres; |
diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index 23efe17be44b..a1cd2df51c9e 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c | |||
@@ -939,7 +939,7 @@ static struct uart_driver xuartps_uart_driver = { | |||
939 | * | 939 | * |
940 | * Returns 0 on success, negative error otherwise | 940 | * Returns 0 on success, negative error otherwise |
941 | **/ | 941 | **/ |
942 | static int __devinit xuartps_probe(struct platform_device *pdev) | 942 | static int xuartps_probe(struct platform_device *pdev) |
943 | { | 943 | { |
944 | int rc; | 944 | int rc; |
945 | struct uart_port *port; | 945 | struct uart_port *port; |
diff --git a/drivers/tty/synclink.c b/drivers/tty/synclink.c index 31db13be4697..4798dd5c55dd 100644 --- a/drivers/tty/synclink.c +++ b/drivers/tty/synclink.c | |||
@@ -8065,7 +8065,7 @@ static void hdlcdev_exit(struct mgsl_struct *info) | |||
8065 | #endif /* CONFIG_HDLC */ | 8065 | #endif /* CONFIG_HDLC */ |
8066 | 8066 | ||
8067 | 8067 | ||
8068 | static int __devinit synclink_init_one (struct pci_dev *dev, | 8068 | static int synclink_init_one (struct pci_dev *dev, |
8069 | const struct pci_device_id *ent) | 8069 | const struct pci_device_id *ent) |
8070 | { | 8070 | { |
8071 | struct mgsl_struct *info; | 8071 | struct mgsl_struct *info; |
diff --git a/drivers/tty/synclink_gt.c b/drivers/tty/synclink_gt.c index 595f2f48193f..a84c4089f56a 100644 --- a/drivers/tty/synclink_gt.c +++ b/drivers/tty/synclink_gt.c | |||
@@ -3698,7 +3698,7 @@ static void device_init(int adapter_num, struct pci_dev *pdev) | |||
3698 | } | 3698 | } |
3699 | } | 3699 | } |
3700 | 3700 | ||
3701 | static int __devinit init_one(struct pci_dev *dev, | 3701 | static int init_one(struct pci_dev *dev, |
3702 | const struct pci_device_id *ent) | 3702 | const struct pci_device_id *ent) |
3703 | { | 3703 | { |
3704 | if (pci_enable_device(dev)) { | 3704 | if (pci_enable_device(dev)) { |
diff --git a/drivers/tty/synclinkmp.c b/drivers/tty/synclinkmp.c index 71f3eb22c979..d301110b4d1a 100644 --- a/drivers/tty/synclinkmp.c +++ b/drivers/tty/synclinkmp.c | |||
@@ -5595,7 +5595,7 @@ static void write_control_reg(SLMP_INFO * info) | |||
5595 | } | 5595 | } |
5596 | 5596 | ||
5597 | 5597 | ||
5598 | static int __devinit synclinkmp_init_one (struct pci_dev *dev, | 5598 | static int synclinkmp_init_one (struct pci_dev *dev, |
5599 | const struct pci_device_id *ent) | 5599 | const struct pci_device_id *ent) |
5600 | { | 5600 | { |
5601 | if (pci_enable_device(dev)) { | 5601 | if (pci_enable_device(dev)) { |