summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2013-11-01 18:24:21 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-11-08 12:45:36 +0100
commitc6c3795eefd17a7e5932644c19b25af3e5539929 (patch)
treefba4eb91c2204bc2f9ee0248f44cf5c5c150afca /drivers/media/radio/Makefile
parent[media] iguanair: simplify calculation of carrier delay cycles (diff)
downloadlinux-c6c3795eefd17a7e5932644c19b25af3e5539929.tar.xz
linux-c6c3795eefd17a7e5932644c19b25af3e5539929.zip
[media] radio-si470x-i2c: fix a warning on ia64
on ia64, those warnings appear: drivers/media/radio/si470x/radio-si470x-i2c.c:470:12: warning: 'si470x_i2c_suspend' defined but not used [-Wunused-function] drivers/media/radio/si470x/radio-si470x-i2c.c:487:12: warning: 'si470x_i2c_resume' defined but not used [-Wunused-function] They're caused because the PM logic uses this define: #define SET_SYSTEM_SLEEP_PM_OPS() With is only defined for CONFIG_PM_SLEEP. So, change the logic there to test for CONFIG_PM_SLEEP, instead of CONFIG_PM. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com> Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/radio/Makefile')
0 files changed, 0 insertions, 0 deletions