Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296179
b: refs/heads/master
c: 8c428b8
h: refs/heads/master
i:
  296177: ab55087
  296175: 8a7ed82
v: v3
  • Loading branch information
Jean-Christophe PLAGNIOL-VILLARD authored and Nicolas Ferre committed Feb 23, 2012
1 parent d3c2418 commit c5f8461
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 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: b3af8b49befdcc53cb5d89e57662c359bc0b6989
refs/heads/master: 8c428b8d3316faa88cae80473bb67565561fb446
18 changes: 0 additions & 18 deletions trunk/arch/arm/mach-at91/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,4 @@
#define __io(a) __typesafe_io(a)
#define __mem_pci(a) (a)

#ifndef __ASSEMBLY__

static inline unsigned int at91_sys_read(unsigned int reg_offset)
{
void __iomem *addr = (void __iomem *)AT91_VA_BASE_SYS;

return __raw_readl(addr + reg_offset);
}

static inline void at91_sys_write(unsigned int reg_offset, unsigned long value)
{
void __iomem *addr = (void __iomem *)AT91_VA_BASE_SYS;

__raw_writel(value, addr + reg_offset);
}

#endif

#endif

0 comments on commit c5f8461

Please sign in to comment.