V4L/DVB: tlg2300: cleanups when power management is not configured
authorMárton Németh <nm127@freemail.hu>
Sun, 28 Feb 2010 14:19:47 +0000 (11:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:46:24 +0000 (00:46 -0300)
commit6c9eaa82da53676db830572f5a41aa9ffea133a1
tree1bb4d23f378c67e8a6407326312f82847b4fb150
parentd044189dfea1e8329d63cb4e18815a7e92d2e049
V4L/DVB: tlg2300: cleanups when power management is not configured

When power management is not configured (CONFIG_PM) then some code is no longer
necessary.

This patch will remove the following compiler warnings:
 * pd-dvb.c: In function 'poseidon_fe_release':
 * pd-dvb.c:101: warning: unused variable 'pd'
 * pd-video.c:14: warning: 'pm_video_suspend' declared 'static' but never defined
 * pd-video.c:15: warning: 'pm_video_resume' declared 'static' but never defined

Signed-off-by: Márton Németh <nm127@freemail.hu>
Acked-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tlg2300/pd-dvb.c
drivers/media/video/tlg2300/pd-video.c