[PATCH] Fix section mismatch warning on OSK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Section mismatch warnings when compiling latest git for MACH_OMAP_OSK.
Missing __initdata on the omap1_clk_functions.

Signed-off-by: Suresh Rajashekara <suresh@xxxxxxxxxxxxxxxxxxxx>
---
 arch/arm/mach-omap1/clock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap1/clock.c b/arch/arm/mach-omap1/clock.c
index 4d0c444..aab7ab1 100644
--- a/arch/arm/mach-omap1/clock.c
+++ b/arch/arm/mach-omap1/clock.c
@@ -636,7 +636,7 @@ static void __init omap1_clk_disable_unused(struct clk *clk)
 #define omap1_clk_disable_unused NULL
 #endif

-static struct clk_functions omap1_clk_functions = {
+static struct clk_functions omap1_clk_functions __initdata = {
  .clk_enable = omap1_clk_enable,
  .clk_disable = omap1_clk_disable,
  .clk_round_rate = omap1_clk_round_rate,
-- 
1.4.4.4
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux