From: Eric W. Biederman Date: Wed, 5 May 2010 21:54:00 +0000 (-0700) Subject: sysfs: Don't use enums in inline function declaration. X-Git-Tag: v2.6.35-rc1~459^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27eabc7cb4b357c68e4ce77d0b014f7a23add752;p=pandora-kernel.git sysfs: Don't use enums in inline function declaration. It appears gcc can't cope with using an enum that is only declared in an inline function declaration, that doesn't even use the variable that is so declared. Avoid the silliness and replace the enum with an int, and make gcc happy. Signed-off-by: Eric W. Biederman Acked-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed