summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tda9887.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-11-06 17:01:47 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-11-06 17:01:47 +0000
commit67955ab4a9237e2875812740168d105b0989a17d (patch)
tree7166e6bf0bbc91cc8427e3f7747b462a6aeb4889 /linux/drivers/media/video/tda9887.c
parentfbe7d42cc40bee7179ab9ba05959b2b3374acf08 (diff)
downloadmediapointer-dvb-s2-67955ab4a9237e2875812740168d105b0989a17d.tar.gz
mediapointer-dvb-s2-67955ab4a9237e2875812740168d105b0989a17d.tar.bz2
- #elsif removed, since it breaks gentree stuff.
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 98e5657d6..ca76ad9c9 100644
--- a/linux/drivers/media/video/tda9887.c
+++ b/linux/drivers/media/video/tda9887.c
@@ -834,9 +834,11 @@ tda9887_command(struct i2c_client *client, unsigned int cmd, void *arg)
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13)
static int tda9887_suspend(struct device * dev, pm_message_t state, u32 level)
-#elif LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)
+#else
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)
static int tda9887_suspend(struct device * dev, u32 state, u32 level)
#endif
+#endif
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)
{
struct i2c_client *c = container_of(dev, struct i2c_client, dev);