]> git.baikalelectronics.ru Git - kernel.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)
committerMark Brown <broonie@linaro.org>
Tue, 29 Jul 2014 19:15:47 +0000 (20:15 +0100)
commit2ffd870ff212034f02a1fb9363b72eff4c7fd5d9
tree05042f4c1605350af93dd1731dffcc40bb14ca9d
parent3dced164c13a42dda8340d8afce2c7aa0142e863
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>
sound/soc/fsl/fsl_asrc.c