]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: fsl_asrc: Use 'ifdef' for config options
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 29 Jul 2014 19:10:16 +0000 (16:10 -0300)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:01 +0000 (21:17 -0600)
commit0b8c6ce8aff49dea63426ef020f4b4d0853cf082
tree1719be1a18f88503301cab1f757a7a7e3d606c2c
parentc03d5e12d0f1c2350aa872ccfb723a99cae11bca
ASoC: fsl_asrc: Use 'ifdef' for config options

Fix the following build errors that were observed by building with
make ARCH=microblaze allyesconfig:

>> sound/soc/fsl/fsl_asrc.c:906:5: warning: "CONFIG_PM_RUNTIME" is not defined [-Wundef]
    #if CONFIG_PM_RUNTIME
        ^
>> sound/soc/fsl/fsl_asrc.c:934:5: warning: "CONFIG_PM_SLEEP" is not defined [-Wundef]
    #if CONFIG_PM_SLEEP
        ^
>> sound/soc/fsl/fsl_asrc.c:906:5: warning: "CONFIG_PM_RUNTIME" is not defined [-Wundef]
    #if CONFIG_PM_RUNTIME
        ^
>> sound/soc/fsl/fsl_asrc.c:934:5: warning: "CONFIG_PM_SLEEP" is not defined [-Wundef]
    #if CONFIG_PM_SLEEP

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit d3dacda9390b936a1c341d868f548944cc1c70de)
sound/soc/fsl/fsl_asrc.c