V4L/DVB (4876): budget-ci IR: support EVIOCGPHYS
authorDavid Hardeman <david@hardeman.nu>
Sat, 2 Dec 2006 23:16:05 +0000 (21:16 -0200)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 10 Dec 2006 11:05:09 +0000 (09:05 -0200)
commit5cc8ae000233e8dad667edcdbb921668c317b627
tree300925c88ea9a6253de602cc0531fda6be914a6b
parentdd2f398ccb73530a99582e972aa57e3ed2fd73c6
V4L/DVB (4876): budget-ci IR: support EVIOCGPHYS

This patch adds a 'phys' string, of the same form as used by various other
DVB cards' IR drivers, for access by any program which uses the EVIOCPHYS
ioctl or may read /sys/class/input/*/phys (e.g. udev) to identify input
device nodes.
Taken from Darren Salt's dvb-ir patchset.

Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk>
Signed-off-by: David Hardeman <david@hardeman.nu>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/ttpci/budget-ci.c