* [PATCH] ADB: Add missing #include <linux/platform_device.h>
@ 2008-02-03 15:49 Geert Uytterhoeven
0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2008-02-03 15:49 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton, Johannes Berg
Cc: Linux/m68k, Paul Mackerras, Linux Kernel Development,
Linux/PPC Development
ADB: Add missing #include <linux/platform_device.h>
Commit c9f6d3d5c6d4f4cd3a53549a69c92951180e2a76
[POWERPC] adb: Replace sleep notifier with platform driver suspend/resume hooks
introduced compile errors on m68k because <linux/platform_device.h> is not
explicitly included. On powerpc, it's pulled in through <asm/prom.h>.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
drivers/macintosh/adb.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/macintosh/adb.c
+++ b/drivers/macintosh/adb.c
@@ -36,6 +36,7 @@
#include <linux/completion.h>
#include <linux/device.h>
#include <linux/kthread.h>
+#include <linux/platform_device.h>
#include <asm/uaccess.h>
#include <asm/semaphore.h>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-03 15:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-03 15:49 [PATCH] ADB: Add missing #include <linux/platform_device.h> Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).