]> rtime.felk.cvut.cz Git - can-eth-gw-linux.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)
commit44ffb78fe03e1302dacbc681027ca611f7fcf4c2
tree6a3e3b8a8f6e385bd14567b07c5a2bdc59db3c86
parent2c7c2c1d01a2559d452c0f0aa5e6f6ca2643e6b1
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