summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tda9887.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/tda9887.c')
-rw-r--r--linux/drivers/media/video/tda9887.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/tda9887.c b/linux/drivers/media/video/tda9887.c
index 001cfce64..0ff39da1f 100644
--- a/linux/drivers/media/video/tda9887.c
+++ b/linux/drivers/media/video/tda9887.c
@@ -792,10 +792,10 @@ 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
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13)
static int tda9887_suspend(struct device * dev, pm_message_t state, u32 level)
+#else
+static int tda9887_suspend(struct device * dev, u32 state, u32 level)
#endif
{
dprintk("tda9887: suspend\n");