summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-11-12 16:17:08 +0100
committerTony Lindgren <tony@atomide.com>2012-11-12 13:42:46 -0800
commitcc4b1e24b93dd529b1d49258bee044d319b5b129 (patch)
treebd140edb4df21f4cd9da36bb75eb0cc32d5ce6a3 /arch/arm/mach-omap2
parentc9d501e5cb0238910337213e12a09127221c35d8 (diff)
downloadblackbird-op-linux-cc4b1e24b93dd529b1d49258bee044d319b5b129.tar.gz
blackbird-op-linux-cc4b1e24b93dd529b1d49258bee044d319b5b129.zip
ARM: OMAP2: Fix compillation error in cm_common
Fixes the following error: CC arch/arm/mach-omap2/cm_common.o arch/arm/mach-omap2/cm_common.c: In function ‘cm_register’: arch/arm/mach-omap2/cm_common.c:42:11: error: ‘EINVAL’ undeclared (first use in this function) arch/arm/mach-omap2/cm_common.c:42:11: note: each undeclared identifier is reported only once for each function it appears in arch/arm/mach-omap2/cm_common.c:45:11: error: ‘EEXIST’ undeclared (first use in this function) arch/arm/mach-omap2/cm_common.c: In function ‘cm_unregister’: arch/arm/mach-omap2/cm_common.c:66:11: error: ‘EINVAL’ undeclared (first use in this function) make[1]: *** [arch/arm/mach-omap2/cm_common.o] Error 1 make: *** [arch/arm/mach-omap2] Error 2 Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/cm_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/cm_common.c b/arch/arm/mach-omap2/cm_common.c
index 0bab493ec133..40b3b5a84458 100644
--- a/arch/arm/mach-omap2/cm_common.c
+++ b/arch/arm/mach-omap2/cm_common.c
@@ -13,6 +13,7 @@
#include <linux/kernel.h>
#include <linux/init.h>
+#include <linux/errno.h>
#include "cm2xxx.h"
#include "cm3xxx.h"
OpenPOWER on IntegriCloud