Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264584
b: refs/heads/master
c: d4f3add
h: refs/heads/master
v: v3
  • Loading branch information
Arnd Bergmann committed Oct 1, 2011
1 parent fa2b8ff commit 4b43917
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 53eebb0df85e4005006920ae12150e8d6d31b132
refs/heads/master: d4f3add28bd90caddd5a39e422aed621d57f89a8
3 changes: 2 additions & 1 deletion trunk/arch/arm/common/vic.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@ void __init vic_init(void __iomem *base, unsigned int irq_start,

/* Identify which VIC cell this one is, by reading the ID */
for (i = 0; i < 4; i++) {
u32 addr = ((u32)base & PAGE_MASK) + 0xfe0 + (i * 4);
void __iomem *addr;
addr = (void __iomem *)((u32)base & PAGE_MASK) + 0xfe0 + (i * 4);
cellid |= (readl(addr) & 0xff) << (8 * i);
}
vendor = (cellid >> 12) & 0xff;
Expand Down

0 comments on commit 4b43917

Please sign in to comment.