summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2011-07-29 18:09:12 -0700
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:31:57 -0400
commitd2185c4440ddba25305aeb337e5834b16ea6dfdf (patch)
treed9e59250763fcd95b82b6cdaacca3dc3a34e6a3c
parent0a422f2b1d213f6abeecde88fb45c4b7fa1fd358 (diff)
downloadlinux-rt-d2185c4440ddba25305aeb337e5834b16ea6dfdf.tar.gz
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>
-rw-r--r--drivers/sfi/sfi_core.h3
1 files changed, 3 insertions, 0 deletions
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 <linux/sysfs.h>
+
struct sfi_table_key{
char *sig;
char *oem_id;