OMAPFB: fix compilation warnings due to missing include
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 8 Nov 2011 07:54:50 +0000 (09:54 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 18 Nov 2011 08:09:17 +0000 (10:09 +0200)
Fix warnings similar to this by including module.h:

drivers/video/omap/dispc.c:276:1: warning: data definition has no type
or storage class
drivers/video/omap/dispc.c:276:1: warning: type defaults to 'int' in
declaration of 'EXPORT_SYMBOL'

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap/dispc.c

index 0ccd7adf47bb2db54312287fb5191ac8ed4b2b94..6f61e781f15afa94ae4ebbca32b57407b648a47a 100644 (file)
@@ -19,6 +19,7 @@
  * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/dma-mapping.h>
 #include <linux/mm.h>
 #include <linux/vmalloc.h>