modetest: Create a device structure
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 27 Feb 2013 04:35:13 +0000 (05:35 +0100)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 5 Aug 2013 12:21:44 +0000 (14:21 +0200)
commit549fe0ba627a67b6ae1334eb5cf274a3dfb1fd69
tree3d3e759539c99769e04440d422827be6deb6c83a
parentdab3c80203e562cfdbe33e7d1627c9dde2f5a7de
modetest: Create a device structure

Instead of passing the device fd and resources as global variables group
them in a device structure and pass it explictly to all functions that
need it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
tests/modetest/modetest.c