diff options
| author | Tony Lindgren <tony@atomide.com> | 2012-03-07 20:28:01 -0500 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2012-03-07 20:29:34 -0500 |
| commit | d9a5f4dd437ceb007e1f118e90ba5587a5e04d20 (patch) | |
| tree | 9c2e047966dc30462acc17431fe04679d4f1f309 | |
| parent | 269f6a93f6851b68848e67816a14a2ebf8a48c6b (diff) | |
ARM: OMAP2+: Fix build issues with missing include of linux/bug.h
Otherwise we can get the following if bug.h is not included from kernel.h:
arch/arm/mach-omap2/powerdomain-common.c:
In function 'omap2_pwrdm_get_mem_bank_onstate_mask':
arch/arm/mach-omap2/powerdomain-common.c:64:3: error:
implicit declaration of function 'WARN_ON' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
| -rw-r--r-- | arch/arm/mach-omap2/clkt_clksel.c | 1 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/powerdomain-common.c | 1 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/powerdomain2xxx_3xxx.c | 1 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/powerdomains3xxx_data.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clkt_clksel.c b/arch/arm/mach-omap2/clkt_clksel.c index e25364de028a..04d551b1f7f7 100644 --- a/arch/arm/mach-omap2/clkt_clksel.c +++ b/arch/arm/mach-omap2/clkt_clksel.c | |||
| @@ -43,6 +43,7 @@ | |||
| 43 | #include <linux/errno.h> | 43 | #include <linux/errno.h> |
| 44 | #include <linux/clk.h> | 44 | #include <linux/clk.h> |
| 45 | #include <linux/io.h> | 45 | #include <linux/io.h> |
| 46 | #include <linux/bug.h> | ||
| 46 | 47 | ||
| 47 | #include <plat/clock.h> | 48 | #include <plat/clock.h> |
| 48 | 49 | ||
diff --git a/arch/arm/mach-omap2/powerdomain-common.c b/arch/arm/mach-omap2/powerdomain-common.c index f97afff68d6d..c0aeabfcf009 100644 --- a/arch/arm/mach-omap2/powerdomain-common.c +++ b/arch/arm/mach-omap2/powerdomain-common.c | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | 13 | ||
| 14 | #include <linux/errno.h> | 14 | #include <linux/errno.h> |
| 15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
| 16 | #include <linux/bug.h> | ||
| 16 | #include "pm.h" | 17 | #include "pm.h" |
| 17 | #include "cm.h" | 18 | #include "cm.h" |
| 18 | #include "cm-regbits-34xx.h" | 19 | #include "cm-regbits-34xx.h" |
diff --git a/arch/arm/mach-omap2/powerdomain2xxx_3xxx.c b/arch/arm/mach-omap2/powerdomain2xxx_3xxx.c index 6a17e4ca1d79..0f0a9f1592fe 100644 --- a/arch/arm/mach-omap2/powerdomain2xxx_3xxx.c +++ b/arch/arm/mach-omap2/powerdomain2xxx_3xxx.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 <plat/prcm.h> | 20 | #include <plat/prcm.h> |
| 20 | 21 | ||
diff --git a/arch/arm/mach-omap2/powerdomains3xxx_data.c b/arch/arm/mach-omap2/powerdomains3xxx_data.c index 8ef26daeed68..b7ea468eea32 100644 --- a/arch/arm/mach-omap2/powerdomains3xxx_data.c +++ b/arch/arm/mach-omap2/powerdomains3xxx_data.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/bug.h> | ||
| 16 | 17 | ||
| 17 | #include <plat/cpu.h> | 18 | #include <plat/cpu.h> |
| 18 | 19 | ||
