media: lirc_sir: make device registration work
authorJarod Wilson <jarod@redhat.com>
Mon, 4 Jun 2012 16:05:24 +0000 (13:05 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 16:47:42 +0000 (09:47 -0700)
commitae04311e04e09892048fbdf7e23e852d8f8f3ced
treee3d6677b1f523568f2d607eb4b67d63f352e1808
parent64ac72f81b1b41819dab596d1524bd5cae4813fd
media: lirc_sir: make device registration work

commit 4b71ca6bce8fab3d08c61bf330e781f957934ae1 upstream.

For one, the driver device pointer needs to be filled in, or the lirc core
will refuse to load the driver. And we really need to wire up all the
platform_device bits. This has been tested via the lirc sourceforge tree
and verified to work, been sitting there for months, finally getting
around to sending it. :\

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
CC: Josh Boyer <jwboyer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lirc/lirc_sir.c