From: Randy Dunlap <rdunlap@xenotime•net>
To: Stephen Rothwell <sfr@canb•auug.org.au>,
lenb@kernel•org, sfi-devel@simplefirmware•org
Cc: linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>
Subject: [PATCH -next] sfi: sfi_acpi.c needs sysfs.h
Date: Fri, 29 Jul 2011 18:09:12 -0700 [thread overview]
Message-ID: <20110729180912.82054516.rdunlap@xenotime.net> (raw)
In-Reply-To: <20110729173827.716f57ff6e00095a3efc6449@canb.auug.org.au>
From: Randy Dunlap <rdunlap@xenotime•net>
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>
---
drivers/sfi/sfi_core.h | 3 +++
1 file changed, 3 insertions(+)
--- linux-next-20110729.orig/drivers/sfi/sfi_core.h
+++ linux-next-20110729/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;
next prev parent reply other threads:[~2011-07-30 1:09 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-29 7:38 linux-next: Tree for July 29 Stephen Rothwell
2011-07-29 19:07 ` [PATCH -next] x86: files need export.h Randy Dunlap
2011-07-30 18:51 ` Paul Gortmaker
2011-07-29 19:43 ` [PATCH -next] regulator: aat2870 needs module.h Randy Dunlap
2011-07-30 1:04 ` [PATCH -next] x86: devicetree.h needs export.h Randy Dunlap
2011-07-30 19:00 ` Paul Gortmaker
2011-07-30 1:09 ` Randy Dunlap [this message]
2011-07-30 19:05 ` [PATCH -next] sfi: sfi_acpi.c needs sysfs.h Paul Gortmaker
2011-07-30 4:11 ` [PATCH -next] power: max8998_charger.c needs module.h Randy Dunlap
2011-08-19 17:02 ` Anton Vorontsov
2011-07-30 4:13 ` [PATCH -next] regulator: aat2870-regulator.c " Randy Dunlap
2011-08-01 0:15 ` Mark Brown
2011-08-01 0:33 ` Stephen Rothwell
2011-08-01 1:05 ` Stephen Rothwell
2011-08-01 9:25 ` Samuel Ortiz
2011-08-01 18:09 ` Liam Girdwood
2011-08-03 10:28 ` Samuel Ortiz
2011-07-30 4:14 ` [PATCH -next] sound: rtctimer.c " Randy Dunlap
2011-07-30 6:04 ` Takashi Iwai
2011-07-30 4:14 ` [PATCH -next] i2c: i2c-pxa-pci.c " Randy Dunlap
[not found] ` <20110729211430.6c4830bd.rdunlap-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org>
2011-07-30 19:09 ` Paul Gortmaker
2011-07-31 16:42 ` Ben Dooks
[not found] ` <20110731164208.GP15795-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
2011-07-31 19:41 ` Paul Gortmaker
2011-07-30 4:14 ` [PATCH -next] input: mouse/hgpk.c " Randy Dunlap
2011-07-30 19:02 ` Dmitry Torokhov
2011-07-30 4:14 ` [PATCH -next] x86/platform: geode/alix.c " Randy Dunlap
2011-07-30 4:14 ` [PATCH -next] x86/platform: mrst/pmu.c " Randy Dunlap
2011-08-01 15:31 ` Len Brown
2011-07-30 11:38 ` linux-next: Tree for July 29 Sedat Dilek
2011-07-30 16:08 ` Arnaud Lacombe
2011-07-30 16:16 ` Sedat Dilek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110729180912.82054516.rdunlap@xenotime.net \
--to=rdunlap@xenotime$(echo .)net \
--cc=lenb@kernel$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=sfi-devel@simplefirmware$(echo .)org \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox