]> Pileus Git - ~andy/linux/commit
[media] radio-shark: remove a warning when CONFIG_PM is not defined
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 1 Nov 2013 15:44:54 +0000 (12:44 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 7 Nov 2013 17:03:14 +0000 (15:03 -0200)
commitc5b0b3cb8a2b6637d652cae73f00761a1bd6e66e
treef650a3e4eacf215852975714a588dd152d696ef8
parent408679cd3ccfd91a5b63337ec4dd0b6b3d6a6504
[media] radio-shark: remove a warning when CONFIG_PM is not defined

On alpha, allyesconfig doesn't have CONFIG_PM, and produces the following warnings:
drivers/media/radio/radio-shark.c:274:13: warning: 'shark_resume_leds' defined but not used [-Wunused-function]
drivers/media/radio/radio-shark2.c:240:13: warning: 'shark_resume_leds' defined but not used [-Wunused-function]
That's because those functions are used only at device resume.

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>
drivers/media/radio/radio-shark.c
drivers/media/radio/radio-shark2.c