ARM i.MX23/28: platform-mxsfb: Add missing include of linux/dma-mapping.h
authorAxel Lin <axel.lin@gmail.com>
Thu, 30 Jun 2011 13:35:03 +0000 (21:35 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 7 Jul 2011 07:07:43 +0000 (09:07 +0200)
Fix below build error:
  CC      arch/arm/mach-mxs/devices/platform-mxsfb.o
arch/arm/mach-mxs/devices/platform-mxsfb.c: In function 'mx23_add_mxsfb':
arch/arm/mach-mxs/devices/platform-mxsfb.c:27: error: implicit declaration of function 'DMA_BIT_MASK'
make[2]: *** [arch/arm/mach-mxs/devices/platform-mxsfb.o] Error 1
make[1]: *** [arch/arm/mach-mxs/devices] Error 2
make: *** [arch/arm/mach-mxs] Error 2

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Tested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mxs/devices/platform-mxsfb.c

index bf72c9b8dbdd19736b1f9090eafc479b0052bfdb..5a75b7180f74b616939b30c0aeeaa7c3f987f847 100644 (file)
@@ -5,6 +5,7 @@
  * the terms of the GNU General Public License version 2 as published by the
  * Free Software Foundation.
  */
+#include <linux/dma-mapping.h>
 #include <asm/sizes.h>
 #include <mach/mx23.h>
 #include <mach/mx28.h>