V4L/DVB: media/video/tlg2300: fix build when CONFIG_PM=n
commit08cf8a57c51da7db9633c2827b3dbabfb7df51fd
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 12 Feb 2010 21:02:29 +0000 (12 18:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:11:02 +0000 (26 15:11 -0300)
tree5c51426019b1a7319f984174e1ae2b8a12d5ad61
parent546e29b66a1aeec3b6a710aceeb2149871570416
V4L/DVB: media/video/tlg2300: fix build when CONFIG_PM=n

When CONFIG_PM is not enabled, tlg2300 has build errors,
so handle that case, mostly via stubs.

drivers/media/video/tlg2300/pd-alsa.c:237: error: 'struct poseidon' has no member named 'msg'
drivers/media/video/tlg2300/pd-main.c:412: error: implicit declaration of function 'find_old_poseidon'
drivers/media/video/tlg2300/pd-main.c:418: error: implicit declaration of function 'set_map_flags'
drivers/media/video/tlg2300/pd-main.c:462: error: implicit declaration of function 'get_pd'

Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>, linux-media@vger.kernel.org
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Huang Shijie <shijie8@gmail.com>
Cc: Kang Yong <kangyong@telegent.com>
Cc: Zhang Xiaobing <xbzhang@telegent.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tlg2300/pd-common.h
drivers/media/video/tlg2300/pd-main.c