Skip to content

Commit

Permalink
drivers/sfi: sfi_acpi.c needs sysfs.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rddunlap authored and Paul Gortmaker committed Oct 31, 2011
1 parent 0a422f2 commit d2185c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/sfi/sfi_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d2185c4

Please sign in to comment.