Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <ctype.h>
#include <errno.h>
#include <ctype.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <string.h>
#include <unistd.h>
-#include <linux/types.h>
+#include <linux/types.h>
#include <linux/v4l2-mediabus.h>
#include <linux/v4l2-subdev.h>
#include <linux/videodev2.h>
#include "mediactl.h"
#include "options.h"
#include <linux/v4l2-mediabus.h>
#include <linux/v4l2-subdev.h>
#include <linux/videodev2.h>
#include "mediactl.h"
#include "options.h"
/* -----------------------------------------------------------------------------
* Printing
/* -----------------------------------------------------------------------------
* Printing
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/types.h>
+#include <errno.h>
+#include <fcntl.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <linux/videodev2.h>
+#include <linux/videodev2.h>
#include "mediactl.h"
#include "tools.h"
#include "mediactl.h"
#include "tools.h"
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <getopt.h>
#include <stdio.h>
#include <getopt.h>
#include <stdio.h>
#include <unistd.h>
#include "options.h"
#include <unistd.h>
#include "options.h"
#include <linux/v4l2-subdev.h>
#include "mediactl.h"
#include <linux/v4l2-subdev.h>
#include "mediactl.h"
int v4l2_subdev_open(struct media_entity *entity)
{
int v4l2_subdev_open(struct media_entity *entity)
{