]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mxs: use auxdata to pass flexcan_switch function hook
authorShawn Guo <shawn.guo@linaro.org>
Mon, 6 Aug 2012 14:00:45 +0000 (22:00 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 17 Aug 2012 04:35:23 +0000 (12:35 +0800)
commit0bba68a10db840a08a70ccd96cbd1c6db72dc8cb
tree6a3e3b8a8f6e385bd14567b07c5a2bdc59db3c86
parent02a64fb0e74df6a06394d7f45bef77a747d1f6c8
ARM: mxs: use auxdata to pass flexcan_switch function hook

There are some efforts going on to have flexcan_switch function
implemented in flexcan driver, so that this platform function hook
can be saved for device tree boot.  But due to the mx28evk board
design oddness that two flexcan transceivers share one switch gpio,
we have to come up a separate and generic gpio-switch driver to handle
all these gpio switch use cases.

Before that happens, we choose to use auxdata to pass flexcan_switch
function hook, so that the DT conversion is not blocked there.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/mach-mxs.c