diff options
author | Esben Haabendal <eha@deif.com> | 2015-01-06 14:07:34 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-06 17:03:34 +0000 |
commit | 38455d7ac2e383d747ddee0189c7d8c078b29b09 (patch) | |
tree | 3181cc88705caa1f3d5ce2de3db4506cf6a69534 /drivers/spi/spi-fsl-lib.h | |
parent | 1004b9f146940d280a0f62ca33d241469022bce7 (diff) | |
download | linux-stable-38455d7ac2e383d747ddee0189c7d8c078b29b09.tar.gz linux-stable-38455d7ac2e383d747ddee0189c7d8c078b29b09.tar.bz2 linux-stable-38455d7ac2e383d747ddee0189c7d8c078b29b09.zip |
spi: fsl-(e)spi: Support compile as module
Signed-off-by: Esben Haabendal <eha@deif.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-lib.h')
-rw-r--r-- | drivers/spi/spi-fsl-lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-fsl-lib.h b/drivers/spi/spi-fsl-lib.h index b4ed04e8862f..1326a392adca 100644 --- a/drivers/spi/spi-fsl-lib.h +++ b/drivers/spi/spi-fsl-lib.h @@ -28,7 +28,7 @@ struct mpc8xxx_spi { /* rx & tx bufs from the spi_transfer */ const void *tx; void *rx; -#ifdef CONFIG_SPI_FSL_ESPI +#if IS_ENABLED(CONFIG_SPI_FSL_ESPI) int len; #endif @@ -68,7 +68,7 @@ struct mpc8xxx_spi { unsigned int flags; -#ifdef CONFIG_SPI_FSL_SPI +#if IS_ENABLED(CONFIG_SPI_FSL_SPI) int type; int native_chipselects; u8 max_bits_per_word; |