summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iommu/ti,omap-iommu.txt
diff options
context:
space:
mode:
authorAlexandre Belloni2015-09-10 10:19:52 +0200
committerMark Brown2015-09-10 12:09:52 +0200
commitd630526d0aa6acc0868dae892b1febda72029a3e (patch)
tree5de0466604aa2047aa018054d15ebaaf456cd62c /Documentation/devicetree/bindings/iommu/ti,omap-iommu.txt
parentLinux 4.2-rc1 (diff)
downloadkernel-qcow2-linux-d630526d0aa6acc0868dae892b1febda72029a3e.tar.gz
kernel-qcow2-linux-d630526d0aa6acc0868dae892b1febda72029a3e.tar.xz
kernel-qcow2-linux-d630526d0aa6acc0868dae892b1febda72029a3e.zip
spi: atmel: remove warning when !CONFIG_PM_SLEEP
When CONFIG_PM is defined but not CONFIG_PM_SLEEP (this happens when CONFIG_SUSPEND is not defined), there is the following warning: drivers/spi/spi-atmel.c:1723:12: warning: ‘atmel_spi_suspend’ defined but not used [-Wunused-function] drivers/spi/spi-atmel.c:1741:12: warning: ‘atmel_spi_resume’ defined but not used [-Wunused-function] Enclose both atmel_spi_suspend and atmel_spi_resume in #ifdef CONFIG_PM_SLEEP/#endif to solve that. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iommu/ti,omap-iommu.txt')
0 files changed, 0 insertions, 0 deletions