Skip to content

Commit

Permalink
ARM: OMAP: omap_device: Include linux/export.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
  • Loading branch information
AxelLin authored and tmlind committed Nov 7, 2011
1 parent 32aaeff commit 5558141
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/plat-omap/omap_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5558141

Please sign in to comment.