]> 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)
commit20bc9d3449246fce10b6b378d8ecdfd057945be7
tree6a3e3b8a8f6e385bd14567b07c5a2bdc59db3c86
parent3314e206faa98d2aa0c1d8f37cc05957695f0154
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