lirc_sir: make device registration work
authorJarod Wilson <jarod@redhat.com>
Mon, 4 Jun 2012 16:05:24 +0000 (13:05 -0300)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 9 Aug 2012 23:24:35 +0000 (00:24 +0100)
commit76a65f00049d773d4f508bc2a6c19f7bb546f49d
tree40a26b678f3d0b4ea695b910bc93cb7e0d49c9ea
parenta044f5527ce679e7997386926a9d932d30cfb0fc
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. :\

CC: Josh Boyer <jwboyer@redhat.com>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/staging/media/lirc/lirc_sir.c