]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (13633): ir-core: create a new class for remote controllers
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 13 Dec 2009 19:00:08 +0000 (16:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:23 +0000 (15:10 -0300)
commitf309f086976ec1a260765990fca954c974f5445e
tree7bffe980fa51169f78c9ec35c09936d8dce73443
parentd5421672e4299b107d4a75da787d3700d8be8d67
V4L/DVB (13633): ir-core: create a new class for remote controllers

Add sysfs skeleton to export remote controller information via
/sys/class/irrcv.

For now, the code doesn't do much. It just exports an attribute that
is meant to  report and control the IR protocol used by the keytable.
However, the callbacks for this new attribute weren't set yet.

Also, it lacks symlinks to the used event interface.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/Makefile
drivers/media/IR/ir-keytable.c
drivers/media/IR/ir-sysfs.c [new file with mode: 0644]
include/media/ir-core.h