Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272948
b: refs/heads/master
c: fae2b89
h: refs/heads/master
v: v3
  • Loading branch information
Rob Herring authored and Arnd Bergmann committed Oct 31, 2011
1 parent f22e7a3 commit ff7a345
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 09fa31a322c8f03871a741cd1d26e5ca04aacbbd
refs/heads/master: fae2b89ab13f6181cb418d788b66a44758cc71d4
9 changes: 8 additions & 1 deletion trunk/arch/arm/include/asm/hardware/cache-l2x0.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,14 @@

#ifndef __ASSEMBLY__
extern void __init l2x0_init(void __iomem *base, __u32 aux_val, __u32 aux_mask);
#if defined(CONFIG_CACHE_L2X0) && defined(CONFIG_OF)
extern int l2x0_of_init(__u32 aux_val, __u32 aux_mask);
#else
static inline int l2x0_of_init(__u32 aux_val, __u32 aux_mask)
{
return -ENODEV;
}
#endif

struct l2x0_regs {
unsigned long phy_base;
Expand All @@ -121,6 +128,6 @@ struct l2x0_regs {

extern struct l2x0_regs l2x0_saved_regs;

#endif
#endif /* __ASSEMBLY__ */

#endif

0 comments on commit ff7a345

Please sign in to comment.