Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36579
b: refs/heads/master
c: 50dedf1
h: refs/heads/master
i:
  36577: ee3c537
  36575: f7c6a02
v: v3
  • Loading branch information
Ben Dooks authored and Russell King committed Sep 25, 2006
1 parent 5e73137 commit 88ce9b9
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: 0033a2f0d028400ad04588efbd5740c73f0eb740
refs/heads/master: 50dedf168c1afd23cbc6c4fd8429c9e931b4e813
9 changes: 8 additions & 1 deletion trunk/arch/arm/mach-s3c2410/s3c2412.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@

#ifndef CONFIG_CPU_S3C2412_ONLY
void __iomem *s3c24xx_va_gpio2 = S3C24XX_VA_GPIO;

static inline void s3c2412_init_gpio2(void)
{
s3c24xx_va_gpio2 = S3C24XX_VA_GPIO + 0x10;
}
#else
#define s3c2412_init_gpio2() do { } while(0)
#endif

/* Initial IO mappings */
Expand Down Expand Up @@ -110,7 +117,7 @@ void __init s3c2412_map_io(struct map_desc *mach_desc, int mach_size)
{
/* move base of IO */

s3c24xx_va_gpio2 = S3C24XX_VA_GPIO + 0x10;
s3c2412_init_gpio2();

/* set our idle function */

Expand Down

0 comments on commit 88ce9b9

Please sign in to comment.