]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
ARM: OMAP: omap_device: Include linux/export.h
authorAxel Lin <axel.lin@gmail.com>
Mon, 7 Nov 2011 20:27:10 +0000 (12:27 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 7 Nov 2011 20:27:10 +0000 (12:27 -0800)
Include linux/export.h to fix below build warning:

  CC      arch/arm/plat-omap/omap_device.o
arch/arm/plat-omap/omap_device.c:1055: warning: data definition has no type or storage class
arch/arm/plat-omap/omap_device.c:1055: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/arm/plat-omap/omap_device.c:1055: warning: parameter names (without types) in function declaration

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/omap_device.c

index cd90bedd9306fb6389d5f9eef0d6061db1c02076..f839f948421a9dce73171ed4dcad31f3cba49e8c 100644 (file)
@@ -78,6 +78,7 @@
 #undef DEBUG
 
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/platform_device.h>
 #include <linux/slab.h>
 #include <linux/err.h>