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 17:30:36 +0000 (10:30 -0700)
commit504471eb5044e4a1dd10950d1a3efab39ba2083a
tree58a573538eef01f8092af649ad78f4c74d940e63
parent391c314928c37b0c946061c0adddd5bd5730c8b7
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/media/lirc/lirc_sir.c