Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188812
b: refs/heads/master
c: 2314436
h: refs/heads/master
v: v3
  • Loading branch information
Tobias Klauser authored and Greg Kroah-Hartman committed Mar 19, 2010
1 parent 3a869fe commit c10f12e
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d4bee0a677cfa5a32f964ffa420e27406c65e605
refs/heads/master: 231443665882a02214c3748b9f86615a3ce9e5c2
4 changes: 2 additions & 2 deletions trunk/drivers/serial/cpm_uart/cpm_uart_cpm2.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void __iomem *cpm_uart_map_pram(struct uart_cpm_port *port,
void __iomem *pram;
unsigned long offset;
struct resource res;
unsigned long len;
resource_size_t len;

/* Don't remap parameter RAM if it has already been initialized
* during console setup.
Expand All @@ -74,7 +74,7 @@ void __iomem *cpm_uart_map_pram(struct uart_cpm_port *port,
if (of_address_to_resource(np, 1, &res))
return NULL;

len = 1 + res.end - res.start;
len = resource_size(&res);
pram = ioremap(res.start, len);
if (!pram)
return NULL;
Expand Down

0 comments on commit c10f12e

Please sign in to comment.