Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11305
b: refs/heads/master
c: ecbea7a
h: refs/heads/master
i:
  11303: f041cfb
v: v3
  • Loading branch information
Lennert Buytenhek authored and Russell King committed Oct 29, 2005
1 parent b592759 commit 5f2093b
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 931db7d6880027bb2b6b0cb78a488ab1486e28b7
refs/heads/master: ecbea7a2dae94092db9566bcd1f38535e9b3cde9
6 changes: 5 additions & 1 deletion trunk/include/asm-arm/arch-ixp2000/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@

#ifndef __ASSEMBLY__

static inline unsigned long ixp2000_reg_read(volatile void *reg)
{
return *((volatile unsigned long *)reg);
}

static inline void ixp2000_reg_write(volatile void *reg, unsigned long val)
{
*((volatile unsigned long *)reg) = val;
}
#define ixp2000_reg_read(reg) (*((volatile unsigned long *)reg))

/*
* Boards may multiplex different devices on the 2nd channel of
Expand Down

0 comments on commit 5f2093b

Please sign in to comment.