diff options
author | Olof Johansson <olof@lixom.net> | 2012-03-10 11:56:58 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-03-10 11:56:58 -0500 |
commit | 74c46469a5f70a29ac961cfaa90a0422f1d09230 (patch) | |
tree | e8f5131335e5743c8a463540155ad73e9784f2af | |
parent | d9a5f4dd437ceb007e1f118e90ba5587a5e04d20 (diff) | |
parent | 4647ca5761f5534470e98d06494403a2fd0d7b32 (diff) |
Merge branch 'fixes-non-critical-part3' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/fixes-non-critical
* 'fixes-non-critical-part3' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP2+: Fix build for omap4 only builds with missing include of linux/bug.h
ARM: OMAP2+: Fix section warnings for hsmmc_init_one
-rw-r--r-- | arch/arm/mach-omap2/hsmmc.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/powerdomain44xx.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/vc.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c index a97876da7fad..8121720e942f 100644 --- a/arch/arm/mach-omap2/hsmmc.c +++ b/arch/arm/mach-omap2/hsmmc.c | |||
@@ -465,7 +465,7 @@ void omap_hsmmc_late_init(struct omap2_hsmmc_info *c) | |||
465 | 465 | ||
466 | #define MAX_OMAP_MMC_HWMOD_NAME_LEN 16 | 466 | #define MAX_OMAP_MMC_HWMOD_NAME_LEN 16 |
467 | 467 | ||
468 | static void omap_hsmmc_init_one(struct omap2_hsmmc_info *hsmmcinfo, | 468 | static void __init omap_hsmmc_init_one(struct omap2_hsmmc_info *hsmmcinfo, |
469 | int ctrl_nr) | 469 | int ctrl_nr) |
470 | { | 470 | { |
471 | struct omap_hwmod *oh; | 471 | struct omap_hwmod *oh; |
diff --git a/arch/arm/mach-omap2/powerdomain44xx.c b/arch/arm/mach-omap2/powerdomain44xx.c index a7880af4b3d9..601325b852a4 100644 --- a/arch/arm/mach-omap2/powerdomain44xx.c +++ b/arch/arm/mach-omap2/powerdomain44xx.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
18 | #include <linux/bug.h> | ||
18 | 19 | ||
19 | #include "powerdomain.h" | 20 | #include "powerdomain.h" |
20 | #include <plat/prcm.h> | 21 | #include <plat/prcm.h> |
diff --git a/arch/arm/mach-omap2/vc.c b/arch/arm/mach-omap2/vc.c index 175b7d86d86a..84da34f9a7cf 100644 --- a/arch/arm/mach-omap2/vc.c +++ b/arch/arm/mach-omap2/vc.c | |||
@@ -10,6 +10,7 @@ | |||
10 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
11 | #include <linux/delay.h> | 11 | #include <linux/delay.h> |
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/bug.h> | ||
13 | 14 | ||
14 | #include <plat/cpu.h> | 15 | #include <plat/cpu.h> |
15 | 16 | ||