diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-02-09 15:11:09 +0800 |
---|---|---|
committer | Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> | 2015-03-30 01:39:20 +0530 |
commit | 81a66446c319225c4a8f0c4c0d9cf4ee10f8c2b9 (patch) | |
tree | 829c56c5913793f6ee1f0d5325a63027f2b6c142 /drivers/net/cs8900.c | |
parent | aa8306a90e398e5667ccd03ef8512837116bcc51 (diff) | |
download | u-boot-imx-81a66446c319225c4a8f0c4c0d9cf4ee10f8c2b9.zip u-boot-imx-81a66446c319225c4a8f0c4c0d9cf4ee10f8c2b9.tar.gz u-boot-imx-81a66446c319225c4a8f0c4c0d9cf4ee10f8c2b9.tar.bz2 |
spi: ftssp010_spi: Use to_ftssp010_spi() to ensure free correct address
Don't assume slave is always the first member of struct ftssp010_spi.
Use to_ftssp010_spi() to ensure free correct address in spi_free_slave().
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'drivers/net/cs8900.c')
0 files changed, 0 insertions, 0 deletions