diff options
Diffstat (limited to 'drivers/tty/cyclades.c')
-rw-r--r-- | drivers/tty/cyclades.c | 16 |
1 files changed, 8 insertions, 8 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; |