summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include/mach/r8a7778.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-08-04 17:43:01 -0700
committerSimon Horman <horms+renesas@verge.net.au>2013-09-30 16:11:23 +0900
commitf39d35fcc2cd7a24ec3128adffd7876953999e1f (patch)
treeb15398b77886618cc42a91cb1a502227882908d4 /arch/arm/mach-shmobile/include/mach/r8a7778.h
parent84ea52885ebb298231b9577dd8b53fdfa692c0b7 (diff)
downloadlinux-f39d35fcc2cd7a24ec3128adffd7876953999e1f.tar.bz2
ARM: shmobile: r8a7778: add usb phy power control function
USB phy initialisation function is needed from not only USB Host but also USB Function too. This patch adds usb phy common control function. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/r8a7778.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/r8a7778.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7778.h b/arch/arm/mach-shmobile/include/mach/r8a7778.h
index adfcf51b163d..ea1dca6880f4 100644
--- a/arch/arm/mach-shmobile/include/mach/r8a7778.h
+++ b/arch/arm/mach-shmobile/include/mach/r8a7778.h
@@ -35,4 +35,6 @@ extern void r8a7778_clock_init(void);
extern void r8a7778_init_irq_extpin(int irlm);
extern void r8a7778_pinmux_init(void);
+extern int r8a7778_usb_phy_power(bool enable);
+
#endif /* __ASM_R8A7778_H__ */