diff options
Diffstat (limited to 'drivers/tty/serial/sc26xx.c')
-rw-r--r-- | drivers/tty/serial/sc26xx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/serial/sc26xx.c b/drivers/tty/serial/sc26xx.c index 9d664242b312..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; |
@@ -733,7 +733,7 @@ static int __exit sc26xx_driver_remove(struct platform_device *dev) | |||
733 | 733 | ||
734 | static struct platform_driver sc26xx_driver = { | 734 | static struct platform_driver sc26xx_driver = { |
735 | .probe = sc26xx_probe, | 735 | .probe = sc26xx_probe, |
736 | .remove = __devexit_p(sc26xx_driver_remove), | 736 | .remove = sc26xx_driver_remove, |
737 | .driver = { | 737 | .driver = { |
738 | .name = "SC26xx", | 738 | .name = "SC26xx", |
739 | .owner = THIS_MODULE, | 739 | .owner = THIS_MODULE, |