diff options
author | Michael Krufky <devnull@localhost> | 2005-11-27 23:14:40 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-11-27 23:14:40 +0000 |
commit | 7d003480a0faf4e7018fa8a87104ba17b6db6bb1 (patch) | |
tree | 158dc2fdb756b49e5d2ea15fc988ea20e6b74550 /linux/drivers | |
parent | 5eee74c9dab4a2cb88a52ae96fa90fe0d2658a1e (diff) | |
download | mediapointer-dvb-s2-7d003480a0faf4e7018fa8a87104ba17b6db6bb1.tar.gz mediapointer-dvb-s2-7d003480a0faf4e7018fa8a87104ba17b6db6bb1.tar.bz2 |
fix build against kernels < 2.6.15
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-input.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-input.c b/linux/drivers/media/video/saa7134/saa7134-input.c index f0da9e6a5..391609170 100644 --- a/linux/drivers/media/video/saa7134/saa7134-input.c +++ b/linux/drivers/media/video/saa7134/saa7134-input.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-input.c,v 1.42 2005/11/27 22:29:16 mkrufky Exp $ + * $Id: saa7134-input.c,v 1.43 2005/11/27 23:14:40 mkrufky Exp $ * * handle saa7134 IR remotes via linux kernel input layer. * @@ -722,7 +722,9 @@ int saa7134_input_init1(struct saa7134_dev *dev) return -ENOMEM; memset(ir,0,sizeof(*ir)); +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15) ir->dev = input_dev; +#endif /* init hardware-specific stuff */ ir->mask_keycode = mask_keycode; |