From: Randy Dunlap Date: Sat, 30 Jul 2011 01:09:12 +0000 (-0700) Subject: drivers/sfi: sfi_acpi.c needs sysfs.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d2185c4440ddba25305aeb337e5834b16ea6dfdf;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 --- diff --git a/drivers/sfi/sfi_core.h b/drivers/sfi/sfi_core.h index b7cf220d44ec..1d5cfe854cf7 100644 --- a/drivers/sfi/sfi_core.h +++ b/drivers/sfi/sfi_core.h @@ -55,6 +55,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ + +#include + struct sfi_table_key{ char *sig; char *oem_id;