Explorar el Código

ARM: OMAP: omap_device: Include linux/export.h

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>
Axel Lin hace 13 años
padre
commit
5558141556
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      arch/arm/plat-omap/omap_device.c

+ 1 - 0
arch/arm/plat-omap/omap_device.c

@@ -78,6 +78,7 @@
 #undef DEBUG
 #undef DEBUG
 
 
 #include <linux/kernel.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/platform_device.h>
 #include <linux/platform_device.h>
 #include <linux/slab.h>
 #include <linux/slab.h>
 #include <linux/err.h>
 #include <linux/err.h>