diff options
author | 2021-05-18 17:24:52 +0100 | |
---|---|---|
committer | 2021-05-18 17:24:52 +0100 | |
commit | c37fe6aff89cb0d842993fe2f69e48bf3ebe0ab0 (patch) | |
tree | 2a322c48218f7006bab789b7bf16ec58b129a096 /include/linux/spi | |
parent | MAINTAINERS: Add Alain Volmat as STM32 SPI maintainer (diff) | |
parent | Linux 5.13-rc2 (diff) | |
download | wireguard-linux-c37fe6aff89cb0d842993fe2f69e48bf3ebe0ab0.tar.xz wireguard-linux-c37fe6aff89cb0d842993fe2f69e48bf3ebe0ab0.zip |
Merge tag 'v5.13-rc2' into spi-5.13
Linux 5.13-rc2
Diffstat (limited to '')
-rw-r--r-- | include/linux/spi/mmc_spi.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/spi/mmc_spi.h b/include/linux/spi/mmc_spi.h index 778ae8eb1f3e..9ad9a06e488d 100644 --- a/include/linux/spi/mmc_spi.h +++ b/include/linux/spi/mmc_spi.h @@ -35,16 +35,7 @@ struct mmc_spi_platform_data { void (*setpower)(struct device *, unsigned int maskval); }; -#ifdef CONFIG_OF extern struct mmc_spi_platform_data *mmc_spi_get_pdata(struct spi_device *spi); extern void mmc_spi_put_pdata(struct spi_device *spi); -#else -static inline struct mmc_spi_platform_data * -mmc_spi_get_pdata(struct spi_device *spi) -{ - return spi->dev.platform_data; -} -static inline void mmc_spi_put_pdata(struct spi_device *spi) {} -#endif /* CONFIG_OF */ #endif /* __LINUX_SPI_MMC_SPI_H */ |