aboutsummaryrefslogtreecommitdiff
path: root/lib/nlattr.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-07-10 01:16:39 +0800
committerGrant Likely <grant.likely@secretlab.ca>2011-07-14 13:47:02 -0600
commit04ee585495a6d474d1ff9a821b52abf7db99cad3 (patch)
treec32ed9c89d4d0939301561297abcaa380c3c9d33 /lib/nlattr.c
parent2a64a90a2c64420e880b25dfeec6524ea78926fb (diff)
spi/imx: use soc name in spi device type naming scheme
Software defined version number is not stable enough to be used in device type naming scheme. The patch changes it to use implicit soc name for spi device type definition. In this way, we can easily align the naming scheme with device tree binding, which comes later. It removes fifosize from spi_imx_data and adds devtype there, so that fifosize can be set in an inline function according to devtype. Also, cpu_is_mx can be replaced by inline functions checking devtype. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions