diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-07-15 20:09:38 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-07-15 20:09:38 +0000 |
commit | a8c58c30dad76eafb34d48937934d5f9793f885f (patch) | |
tree | cb011c0b8882094fa7de488828b7d6140bcb5ef7 /linux/drivers/media/video/tda9887.c | |
parent | 3151532e6f6228fbc6076203542376525b890172 (diff) | |
download | mediapointer-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.c | 4 |
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; |