summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/siano/smsir.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-05-27 15:53:00 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-05-27 15:53:00 -0300
commit2ba29f04ef6c89b77c469257ed249a94c52b8871 (patch)
tree3e539f588e3266b11d5f949cd7891c81a7407372 /linux/drivers/media/dvb/siano/smsir.c
parent5f623f9662748ffe9662ee5b0561fe746ef3279d (diff)
parent9c9fd460173573929daf32f42a502283a9aaae26 (diff)
downloadmediapointer-dvb-s2-2ba29f04ef6c89b77c469257ed249a94c52b8871.tar.gz
mediapointer-dvb-s2-2ba29f04ef6c89b77c469257ed249a94c52b8871.tar.bz2
merge: http://kernellabs.com/hg/~dheitmueller/dvb-frontend-exit-fix
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/siano/smsir.c')
-rw-r--r--linux/drivers/media/dvb/siano/smsir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/siano/smsir.c b/linux/drivers/media/dvb/siano/smsir.c
index e3d776fee..ac876859c 100644
--- a/linux/drivers/media/dvb/siano/smsir.c
+++ b/linux/drivers/media/dvb/siano/smsir.c
@@ -274,7 +274,9 @@ int sms_ir_init(struct smscore_device_t *coredev)
coredev->ir.ir_kb_type);
input_dev->name = coredev->ir.name;
input_dev->phys = coredev->ir.name;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30)
input_dev->dev.parent = coredev->device;
+#endif
/* Key press events only */
input_dev->evbit[0] = BIT_MASK(EV_KEY);