Skip to content

Commit

Permalink
ADB: Add missing #include <linux/platform_device.h>
Browse files Browse the repository at this point in the history
Commit c9f6d3d ("[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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
geertu authored and torvalds committed Feb 4, 2008
1 parent a2e4e10 commit fe2528b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/macintosh/adb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit fe2528b

Please sign in to comment.