diff options
author | Hou Zhiqiang <B48286@freescale.com> | 2014-11-26 10:23:19 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:41:34 (GMT) |
commit | b32b856075821a4195286eedd5b19c40758accac (patch) | |
tree | 6437065ab799498ea8b68286740d8a5253fc642a /include | |
parent | cfacb4e6b8eb3889b5f36fd534f9e127268668f1 (diff) | |
download | linux-fsl-qoriq-b32b856075821a4195286eedd5b19c40758accac.tar.xz |
spi: Add addr_width field to struct spi_message
Make SPI controller can get address width of the SPI device.
Signed-off-by: Hou Zhiqiang <B48286@freescale.com>
Change-Id: I308e2cd5c91f067911fd5a6e89accfdf46473339
Reviewed-on: http://git.am.freescale.net:8181/24584
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Mingkai Hu <Mingkai.Hu@freescale.com>
Reviewed-by: Richard Schmitt <richard.schmitt@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/spi/spi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 887116d..bc7942b 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -611,6 +611,9 @@ struct spi_message { unsigned actual_length; int status; + /* deliver the address width of spi device to spi controller */ + u8 addr_width; + /* for optional use by whatever driver currently owns the * spi_message ... between calls to spi_async and then later * complete(), that's the spi_master controller driver. |