summaryrefslogtreecommitdiffstats
path: root/include/linux/sh_pfc.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2012-12-15 23:51:17 +0100
committerSimon Horman <horms+renesas@verge.net.au>2013-01-25 09:24:25 +0900
commit8682b3c522c639f3a0de31c86bb91f2f9a6c76cb (patch)
tree5765958316a32602bb5e1557830ff5e3ab96d32e /include/linux/sh_pfc.h
parent3e347f08aab1bee4187fcda482ebde49090c4844 (diff)
downloadlinux-8682b3c522c639f3a0de31c86bb91f2f9a6c76cb.tar.gz
linux-8682b3c522c639f3a0de31c86bb91f2f9a6c76cb.tar.bz2
linux-8682b3c522c639f3a0de31c86bb91f2f9a6c76cb.zip
sh-pfc: Remove platform device registration
The PFC platform device is now registered by arch code, remove the legacy registration mechanism. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'include/linux/sh_pfc.h')
-rw-r--r--include/linux/sh_pfc.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/sh_pfc.h b/include/linux/sh_pfc.h
index f7f01b231b66..fa1fec084229 100644
--- a/include/linux/sh_pfc.h
+++ b/include/linux/sh_pfc.h
@@ -120,16 +120,6 @@ struct sh_pfc_platform_data {
/* XXX compat for now */
#define pinmux_info sh_pfc_platform_data
-/* drivers/sh/pfc/core.c */
-int register_sh_pfc(struct sh_pfc_platform_data *pfc);
-
-/* xxx */
-static inline int register_pinmux(struct pinmux_info *pip)
-{
- struct sh_pfc_platform_data *pdata = pip;
- return register_sh_pfc(pdata);
-}
-
enum { GPIO_CFG_DRYRUN, GPIO_CFG_REQ, GPIO_CFG_FREE };
/* helper macro for port */