From: Randy Dunlap Date: Sat, 30 Jul 2011 01:09:12 +0000 (-0700) Subject: drivers/sfi: sfi_acpi.c needs sysfs.h X-Git-Tag: v3.2-rc1~22^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2185c4440ddba25305aeb337e5834b16ea6dfdf;p=pandora-kernel.git drivers/sfi: sfi_acpi.c needs sysfs.h sfi_acpi.c needs to include linux/sysfs.h for data types. drivers/sfi/sfi_core.h:66: error: field 'attr' has incomplete type drivers/sfi/sfi_acpi.c:179: warning: 'struct kobject' declared inside parameter list drivers/sfi/sfi_acpi.c:179: warning: its scope is only this definition or declaration, which is probably not what you want drivers/sfi/sfi_acpi.c:182: warning: type defaults to 'int' in declaration of '__mptr' drivers/sfi/sfi_acpi.c:182: warning: initialization from incompatible pointer type Signed-off-by: Randy Dunlap Signed-off-by: Paul Gortmaker --- Reading git-diff-tree failed