Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 370649
b: refs/heads/master
c: 182e796
h: refs/heads/master
i:
  370647: 0941438
v: v3
  • Loading branch information
Sekhar Nori committed Apr 17, 2013
1 parent 3733887 commit d42efae
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: 267f3c07318b1b1bf04f6039bda7c54613d9e120
refs/heads/master: 182e7961caa1ce4fce1787ec75c1e2e6021307bd
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-davinci/sram.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ static int __init sram_init(void)
phys_addr_t phys = davinci_soc_info.sram_dma;
unsigned len = davinci_soc_info.sram_len;
int status = 0;
void *addr;
void __iomem *addr;

if (len) {
len = min_t(unsigned, len, SRAM_SIZE);
Expand All @@ -75,7 +75,7 @@ static int __init sram_init(void)
addr = ioremap(phys, len);
if (!addr)
return -ENOMEM;
status = gen_pool_add_virt(sram_pool, (unsigned)addr,
status = gen_pool_add_virt(sram_pool, (unsigned long) addr,
phys, len, -1);
if (status < 0)
iounmap(addr);
Expand Down

0 comments on commit d42efae

Please sign in to comment.