staging: easycap: fix sparse warnings :conversion of int to enum
authorTomas Winkler <tomas.winkler@intel.com>
Sat, 22 Jan 2011 23:13:53 +0000 (01:13 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 24 Jan 2011 22:43:03 +0000 (06:43 +0800)
commitd9e2d5962b083646cc9c218bfd358d07ae3b5925
treeae9f6a6c57b333793207a6e67ef173937c27f9e0
parentdbf4805ee6a850e941110b0df1e96049287ecf75
staging: easycap: fix sparse warnings :conversion of int to enum

easycap_settings.c:587:58: warning: conversion of
easycap_settings.c:587:58:     unsigned int to
easycap_settings.c:587:58:     int enum v4l2_field
easycap_settings.c:593:63: warning: conversion of
easycap_settings.c:593:63:     unsigned int to
easycap_settings.c:593:63:     int enum v4l2_colorspace

Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/easycap/easycap_settings.c