summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tda9887.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-07-15 20:09:38 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-07-15 20:09:38 +0000
commita8c58c30dad76eafb34d48937934d5f9793f885f (patch)
treecb011c0b8882094fa7de488828b7d6140bcb5ef7 /linux/drivers/media/video/tda9887.c
parent3151532e6f6228fbc6076203542376525b890172 (diff)
downloadmediapointer-dvb-s2-a8c58c30dad76eafb34d48937934d5f9793f885f.tar.gz
mediapointer-dvb-s2-a8c58c30dad76eafb34d48937934d5f9793f885f.tar.bz2
* bttv-driver.c, msp3400.c, tda9887.c, tuner-core.c:
- driver.suspend API modified at 2.6.13-rc3-mm1. - Warnings removed when compiling against 2.6.13-rc3-mm1. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/tda9887.c')
-rw-r--r--linux/drivers/media/video/tda9887.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tda9887.c b/linux/drivers/media/video/tda9887.c
index 22b640cab..bc2c4badf 100644
--- a/linux/drivers/media/video/tda9887.c
+++ b/linux/drivers/media/video/tda9887.c
@@ -791,7 +791,11 @@ tda9887_command(struct i2c_client *client, unsigned int cmd, void *arg)
return 0;
}
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,13)
static int tda9887_suspend(struct device * dev, u32 state, u32 level)
+#else
+static int tda9887_suspend(struct device * dev, pm_message_t state, u32 level)
+#endif
{
dprintk("tda9887: suspend\n");
return 0;