sh: Add PFC platform device registration helper function
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 15 Dec 2012 22:51:04 +0000 (23:51 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 25 Jan 2013 00:24:23 +0000 (09:24 +0900)
commit8fdff1dc26fc0f50be2c64656229efca2e9de8c5
tree81d183311b31fdc10354c18c6f6e183e747d4547
parentc2a163c8304023267e557d9eda61c7ff8e14a158
sh: Add PFC platform device registration helper function

The sh_pfc_register() function can be called by boards or SoC setup code
to register the PFC platform device.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/sh/include/cpu-common/cpu/pfc.h [new file with mode: 0644]
arch/sh/kernel/cpu/Makefile
arch/sh/kernel/cpu/pfc.c [new file with mode: 0644]