diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2010-03-09 12:25:31 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 12:34:27 -0400 |
commit | e8126b32f6782d2e275e632a5e51e2433ceda7b0 (patch) | |
tree | 89c619ab99a112deb75fdc885ebb48d9b2d4eef7 /drivers/serial | |
parent | 00c1ff8c0fd14e1fa76fb5351ae7d11a513b8497 (diff) |
serial: bfin_sport_uart: add missing mapbase initialization
The driver doesn't care about this, but the common serial core wants it.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/bfin_sport_uart.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/serial/bfin_sport_uart.c b/drivers/serial/bfin_sport_uart.c index 5dcf5dc0da3a..49e7e4f79e0a 100644 --- a/drivers/serial/bfin_sport_uart.c +++ b/drivers/serial/bfin_sport_uart.c | |||
@@ -712,6 +712,7 @@ static int __devinit sport_uart_probe(struct platform_device *pdev) | |||
712 | ret = -ENXIO; | 712 | ret = -ENXIO; |
713 | goto out_error_free_peripherals; | 713 | goto out_error_free_peripherals; |
714 | } | 714 | } |
715 | sport->port.mapbase = res->start; | ||
715 | 716 | ||
716 | sport->port.irq = platform_get_irq(pdev, 0); | 717 | sport->port.irq = platform_get_irq(pdev, 0); |
717 | if (sport->port.irq < 0) { | 718 | if (sport->port.irq < 0) { |
@@ -809,7 +810,7 @@ static int __init sport_uart_init(void) | |||
809 | { | 810 | { |
810 | int ret; | 811 | int ret; |
811 | 812 | ||
812 | pr_info("Serial: Blackfin uart over sport driver\n"); | 813 | pr_info("Blackfin uart over sport driver\n"); |
813 | 814 | ||
814 | ret = uart_register_driver(&sport_uart_reg); | 815 | ret = uart_register_driver(&sport_uart_reg); |
815 | if (ret) { | 816 | if (ret) { |