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>
This commit is contained in:
parent
00c1ff8c0f
commit
e8126b32f6
1 changed files with 2 additions and 1 deletions
|
@ -712,6 +712,7 @@ static int __devinit sport_uart_probe(struct platform_device *pdev)
|
||||||
ret = -ENXIO;
|
ret = -ENXIO;
|
||||||
goto out_error_free_peripherals;
|
goto out_error_free_peripherals;
|
||||||
}
|
}
|
||||||
|
sport->port.mapbase = res->start;
|
||||||
|
|
||||||
sport->port.irq = platform_get_irq(pdev, 0);
|
sport->port.irq = platform_get_irq(pdev, 0);
|
||||||
if (sport->port.irq < 0) {
|
if (sport->port.irq < 0) {
|
||||||
|
@ -809,7 +810,7 @@ static int __init sport_uart_init(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
pr_info("Serial: Blackfin uart over sport driver\n");
|
pr_info("Blackfin uart over sport driver\n");
|
||||||
|
|
||||||
ret = uart_register_driver(&sport_uart_reg);
|
ret = uart_register_driver(&sport_uart_reg);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue