[media] media: implement 32-on-64 bit compat IOCTL handling
authorSakari Ailus <sakari.ailus@iki.fi>
Tue, 22 Jan 2013 15:27:56 +0000 (12:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 18 Mar 2013 23:45:14 +0000 (20:45 -0300)
commitb0a1f2a8420782ccb83fb4f68df37af642790560
tree96e8adc2bef94d8de77bcea3d152ecc79da496cd
parentc6c1d50b51e76b57fbf0651d38a7ae0c3fb9d5cc
[media] media: implement 32-on-64 bit compat IOCTL handling

Use the same handlers where the structs are the same. Implement a new
handler for link enumeration since struct media_links_enum is different on
32-bit and 64-bit systems.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/media-device.c