diff options
author | Michael Krufky <devnull@localhost> | 2005-09-13 16:25:54 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-09-13 16:25:54 +0000 |
commit | 6ddbc1192b64cf40d4084cc018d119f720b5d4d2 (patch) | |
tree | e02c75fe9d2a8108db5c7475cff04a6e1a55af71 /linux/drivers/media/video/tuner-core.c | |
parent | a34868d5bffe009f09ed962cd7978f2cb54ce6a9 (diff) | |
download | mediapointer-dvb-s2-6ddbc1192b64cf40d4084cc018d119f720b5d4d2.tar.gz mediapointer-dvb-s2-6ddbc1192b64cf40d4084cc018d119f720b5d4d2.tar.bz2 |
* bttv-cards.c, bttv-driver.c:
* msp3400.c, tda9887.c, tuner-core.c:
- Step one, in preparation for 2.6.14-rcX compatability:
-#ifdef MM_KERNEL
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13)
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/video/tuner-core.c')
-rw-r--r-- | linux/drivers/media/video/tuner-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index 17d8cd3ff..b8351f70f 100644 --- a/linux/drivers/media/video/tuner-core.c +++ b/linux/drivers/media/video/tuner-core.c @@ -1,5 +1,5 @@ /* - * $Id: tuner-core.c,v 1.70 2005/09/12 20:11:06 hhackmann Exp $ + * $Id: tuner-core.c,v 1.71 2005/09/13 16:25:54 mkrufky Exp $ * * i2c tv tuner chip device driver * core core, i.e. kernel interfaces, registering and so on @@ -715,7 +715,7 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg) return 0; } -#ifdef MM_KERNEL +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13) static int tuner_suspend(struct device *dev, pm_message_t state, u32 level) #else static int tuner_suspend(struct device *dev, u32 state, u32 level) |