Commit fe2528b96b02173395f5a75e37714c07f3e25e73

Authored by Geert Uytterhoeven
Committed by Linus Torvalds
1 parent a2e4e108c5

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/macintosh/adb.c
... ... @@ -36,6 +36,7 @@
36 36 #include <linux/completion.h>
37 37 #include <linux/device.h>
38 38 #include <linux/kthread.h>
  39 +#include <linux/platform_device.h>
39 40  
40 41 #include <asm/uaccess.h>
41 42 #include <asm/semaphore.h>