From: Kevin McKinney Date: Mon, 13 Feb 2012 03:24:53 +0000 (-0500) Subject: Staging: bcm: Move directives for the preprocessor statement to enum value in led_con... X-Git-Tag: v3.4-rc1~186^2~160 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00da8eddf9eb8d432533c3a83da3a6470a45dfc4;p=pandora-kernel.git Staging: bcm: Move directives for the preprocessor statement to enum value in led_control.h DRIVER_HALT is a driver state that was originally defined as a #define statement. This patch moves it to the LedEvents type as an enumerated value for the purpose of removing a compile time warning: drivers/staging/bcm/led_control.c: In function ‘LEDControlThread’: drivers/staging/bcm/led_control.c:817:3: warning: case value ‘255’ not in enumerated type ‘LedEventInfo_t’ [-Wswitch] Signed-off-by: Kevin McKinney Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed