diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-11-12 10:17:08 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-11-12 16:42:46 -0500 |
commit | cc4b1e24b93dd529b1d49258bee044d319b5b129 (patch) | |
tree | bd140edb4df21f4cd9da36bb75eb0cc32d5ce6a3 /arch/arm/mach-omap2/cm_common.c | |
parent | c9d501e5cb0238910337213e12a09127221c35d8 (diff) |
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/cm_common.c')
-rw-r--r-- | arch/arm/mach-omap2/cm_common.c | 1 |
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 @@ | |||
13 | 13 | ||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/errno.h> | ||
16 | 17 | ||
17 | #include "cm2xxx.h" | 18 | #include "cm2xxx.h" |
18 | #include "cm3xxx.h" | 19 | #include "cm3xxx.h" |