From: Randy Dunlap Date: Wed, 3 Aug 2011 23:21:11 +0000 (-0700) Subject: tpm_tis: fix build when ACPI is not enabled X-Git-Tag: v3.1-rc1~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1560ffe62a9d53a51faeec7417becfba4f2a0d18;p=pandora-kernel.git tpm_tis: fix build when ACPI is not enabled Fix tpm_tis.c build when CONFIG_ACPI is not enabled by providing a stub function. Fixes many build errors/warnings: drivers/char/tpm/tpm_tis.c:89: error: dereferencing pointer to incomplete type drivers/char/tpm/tpm_tis.c:89: warning: type defaults to 'int' in declaration of 'type name' drivers/char/tpm/tpm_tis.c:89: error: request for member 'list' in something not a structure or union ... Signed-off-by: Randy Dunlap Cc: Leendert van Doorn Cc: James Morris Cc: Ingo Molnar Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed