]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 6 Oct 2011 17:59:46 +0000 (13:59 -0400)
commit136fd1c5abf98ee6235965f5b61f310b72b3f575
treea45336af4591d9096af5d85f696a6e6a844c0d75
parenta226447fc8cab487f6286de22114a6fb0a53db8a
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