]> git.karo-electronics.de Git - linux-beck.git/commit
sh-pfc: Support passing resources through platform device
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 15 Dec 2012 22:50:55 +0000 (23:50 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 25 Jan 2013 00:24:22 +0000 (09:24 +0900)
commit973931ae0a2dad57e23ce0ca2fab5abed9cf0d9a
tree57775891c71f319afbf0dd6ad9f6fc478d4853a1
parent40ee6fce7a0d3a2b2a1f2a14900af98a49a9ff40
sh-pfc: Support passing resources through platform device

Resources should be passed through the platform device, not through
platform data. Default to platform device resources and fall back to
platform data resources if not available.

Support for platform data resources will be removed when arch code will
be converted.

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>
drivers/sh/pfc/core.c
drivers/sh/pfc/core.h