diff options
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; |