drivers/sfi: sfi_acpi.c needs sysfs.h
authorRandy Dunlap <rdunlap@xenotime.net>
Sat, 30 Jul 2011 01:09:12 +0000 (18:09 -0700)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:57 +0000 (19:31 -0400)
commitd2185c4440ddba25305aeb337e5834b16ea6dfdf
treed9e59250763fcd95b82b6cdaacca3dc3a34e6a3c
parent0a422f2b1d213f6abeecde88fb45c4b7fa1fd358
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 <rdunlap@xenotime.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/sfi/sfi_core.h