diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2014-01-16 13:50:55 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-16 15:07:48 +0100 |
commit | 382cebb02a68764a51a412b8affccd325059d0a5 (patch) | |
tree | ecef6fc19946dbc98dc5be9dc0d906be6b8027c6 /net/unix/af_unix.c | |
parent | Linux 3.13-rc1 (diff) | |
download | linux-382cebb02a68764a51a412b8affccd325059d0a5.tar.xz linux-382cebb02a68764a51a412b8affccd325059d0a5.zip |
spi/pxa2xx: fix compilation warning when !CONFIG_PM_SLEEP
CONFIG_PM will be set if either or both CONFIG_PM_SLEEP and
CONFIG_PM_RUNTIME is set. Compiling the driver with !CONFIG_PM_SLEEP causes
following compilation warning:
drivers/spi/spi-pxa2xx.c:1270:12: warning: ‘pxa2xx_spi_suspend’ defined but not used [-Wunused-function]
Fix this by using CONFIG_PM_SLEEP instead.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions