summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tda9887.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-12-07 17:32:13 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-12-07 17:32:13 +0000
commit6032fe467d6254f4767d2db45d8f48332caa6395 (patch)
tree48b1ca1151bc5186578f2f0820a2386e4efa2534 /linux/drivers/media/video/tda9887.c
parent0b34b6c3504db2f4623703d18b7ee1430b05e022 (diff)
downloadmediapointer-dvb-s2-6032fe467d6254f4767d2db45d8f48332caa6395.tar.gz
mediapointer-dvb-s2-6032fe467d6254f4767d2db45d8f48332caa6395.tar.bz2
#elifs replaced since gentree.pl script is not able to handle elifs.
kernel-sync 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, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tda9887.c b/linux/drivers/media/video/tda9887.c
index c961fe9e0..215a5b1a4 100644
--- a/linux/drivers/media/video/tda9887.c
+++ b/linux/drivers/media/video/tda9887.c
@@ -901,11 +901,13 @@ tda9887_command(struct i2c_client *client, unsigned int cmd, void *arg)
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,14)
static int tda9887_suspend(struct device * dev, pm_message_t state)
-#elif LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13)
+#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
+#endif
{
struct i2c_client *c = container_of(dev, struct i2c_client, dev);
struct tda9887 *t = i2c_get_clientdata(c);