linux_dsm_epyc7002/drivers/media/radio/si470x
Mauro Carvalho Chehab c6c3795eef [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>
2013-11-08 09:45:36 -02:00
..
Kconfig V4L/DVB (12416): radio-si470x: add i2c driver for si470x 2009-09-12 12:18:43 -03:00
Makefile V4L/DVB (12416): radio-si470x: add i2c driver for si470x 2009-09-12 12:18:43 -03:00
radio-si470x-common.c [media] media: Remove unnecessary semicolons 2013-10-17 05:51:57 -03:00
radio-si470x-i2c.c [media] radio-si470x-i2c: fix a warning on ia64 2013-11-08 09:45:36 -02:00
radio-si470x-usb.c [media] radio-si470x-usb: Remove software version check 2013-08-21 05:18:05 -03:00
radio-si470x.h [media] radio/si470x/radio-si470x.h: use IS_ENABLED() macro 2013-02-05 14:52:46 -02:00