backports: fix rfkill sparse warning
authorJohannes Berg <johannes.berg@intel.com>
Thu, 16 May 2013 10:28:38 +0000 (12:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 16 May 2013 10:28:38 +0000 (12:28 +0200)
commitc73e015c95886cc77f2af55abe93247aa1dab3c8
tree727c73c08540aeb15c435573a965dd847a6981b5
parentde7833ceac57e5709344c1fd6ce707d9a3bfd771
backports: fix rfkill sparse warning

The new backport rfkill approach caused a sparse warning:
linux/rfkill.h:70:43: warning: mixing different enum types
linux/rfkill.h:70:43:     int enum rfkill_type  versus
linux/rfkill.h:70:43:     int enum old_rfkill_type

Fix it by adding a cast.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
backport/backport-include/linux/rfkill.h