Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354754
b: refs/heads/master
c: 41147bf
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Abraham authored and Greg Kroah-Hartman committed Jan 16, 2013
1 parent fff28a2 commit 5893543
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 81a7d777497aa4f8c4b5f46b2b8b978779840462
refs/heads/master: 41147bfdc5c0d6acb39d2b3b8a4eb6ffb08e4b42
8 changes: 6 additions & 2 deletions trunk/drivers/tty/serial/samsung.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
#include <asm/irq.h>

#include <mach/hardware.h>
#include <mach/map.h>

#include <plat/regs-serial.h>
#include <plat/clock.h>
Expand Down Expand Up @@ -1144,8 +1143,13 @@ static int s3c24xx_serial_init_port(struct s3c24xx_uart_port *ourport,

dbg("resource %p (%lx..%lx)\n", res, res->start, res->end);

port->membase = devm_ioremap(port->dev, res->start, resource_size(res));
if (!port->membase) {
dev_err(port->dev, "failed to remap controller address\n");
return -EBUSY;
}

port->mapbase = res->start;
port->membase = S3C_VA_UART + (res->start & 0xfffff);
ret = platform_get_irq(platdev, 0);
if (ret < 0)
port->irq = 0;
Expand Down

0 comments on commit 5893543

Please sign in to comment.