fb: mmp: include linux/platform_device.h
authorArnd Bergmann <[email protected]>
Fri, 22 Feb 2013 00:42:14 +0000 (16:42 -0800)
committerLinus Torvalds <[email protected]>
Fri, 22 Feb 2013 01:22:17 +0000 (17:22 -0800)
Commit 16559ae48c76 ("kgdb: remove #include <linux/serial_8250.h> from
kgdb.h") changes the kgdb.h file so that drivers including it do not
implicitly include linux/platform_device.h.  The mmp framebuffer driver
is new, so Greg did not have a chance to fix it up when introducing his
change.

Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Zhou Zhu <[email protected]>
Cc: Lisa Du <[email protected]>
Cc: Guoqing Li <[email protected]>
Acked-by: Haojian Zhuang <[email protected]>
Cc: Florian Tobias Schandinat <[email protected]>
Cc: Greg KH <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/mmp/fb/mmpfb.c

index f34a3a907f1b5b24bd5214df09c1eeec4215e828..6d1fa96c5cc389ddf54a2aa9ffdc5c789c66292c 100644 (file)
@@ -21,6 +21,7 @@
  */
 #include <linux/module.h>
 #include <linux/dma-mapping.h>
+#include <linux/platform_device.h>
 #include "mmpfb.h"
 
 static int var_to_pixfmt(struct fb_var_screeninfo *var)