commit | 27eabc7cb4b357c68e4ce77d0b014f7a23add752 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Wed May 05 14:54:00 2010 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri May 21 09:37:31 2010 -0700 |
tree | f3042a750946c495e8fcbefa526a7c665ccdc197 | |
parent | b9d8b45ee3c5f62cdbd34ee006f3dd2ac51f7018 [diff] |
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 <ebiederm@aristanetworks.com> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>