summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/rcar-gen2.h
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2014-06-17 11:48:01 +0400
committerSimon Horman <horms+renesas@verge.net.au>2014-06-17 12:09:40 +0400
commit62872989bdbf1245d7239b9f4c05a8ee7c775ed5 (patch)
treedb60b4d8f260a72eb098c538c082e5c5425ec492 /arch/arm/mach-shmobile/rcar-gen2.h
parent585c09df3738d4f72cee36eb0b975351fd9a339a (diff)
downloadlinux-62872989bdbf1245d7239b9f4c05a8ee7c775ed5.tar.xz
ARM: shmobile: Move rcar-gen2.h, cleanup r8a7790 case
Change location of rcar-gen2.h so it can be used as #include "rcar-gen2.h" instead of the old style #include <mach/rcar-gen2.h>. Also clean up the r8a7790 case to follow the same style as r8a7791. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/rcar-gen2.h')
-rw-r--r--arch/arm/mach-shmobile/rcar-gen2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/rcar-gen2.h b/arch/arm/mach-shmobile/rcar-gen2.h
new file mode 100644
index 000000000000..43f606eb2d82
--- /dev/null
+++ b/arch/arm/mach-shmobile/rcar-gen2.h
@@ -0,0 +1,8 @@
+#ifndef __ASM_RCAR_GEN2_H__
+#define __ASM_RCAR_GEN2_H__
+
+void rcar_gen2_timer_init(void);
+#define MD(nr) BIT(nr)
+u32 rcar_gen2_read_mode_pins(void);
+
+#endif /* __ASM_RCAR_GEN2_H__ */