Search
SailfishOS Open Build Service
>
Projects
>
home:dcthang:branches:nemo:devel:hw:ti:omap3:n900
>
kernel-adaptation-n900
> linux-2.6-opp-0016-OMAP3-4-OPP-make-omapx_opp_init-non-static.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File linux-2.6-opp-0016-OMAP3-4-OPP-make-omapx_opp_init-non-static.patch of Package kernel-adaptation-n900
From ba09e2a547eed133c8351fa2261925232cb4f385 Mon Sep 17 00:00:00 2001 From: Menon, Nishanth <nm@ti.com> Date: Wed, 5 Jan 2011 20:49:35 +0000 Subject: [PATCH 16/32] OMAP3|4: OPP: make omapx_opp_init non-static OMAP3|4: OPP: make omapx_opp_init non-static omap3 and omap4 opp_init should be made non-static to allow for platform specific opp table tweaking. making these static conflicts with the definition in pm.h(global) as well. we include pm.h as well to ensure that there are no such prototype conflicts with actual implementation in the future. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com> [Kimmo Jukarainen <ext-kimmo.jukarainen@nokia.com> Dropped patch for opp4xxx_data.c as the file does not exist in our backported tree.] --- arch/arm/mach-omap2/opp3xxx_data.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/opp3xxx_data.c b/arch/arm/mach-omap2/opp3xxx_data.c index 0486fce..fd3a1af 100644 --- a/arch/arm/mach-omap2/opp3xxx_data.c +++ b/arch/arm/mach-omap2/opp3xxx_data.c @@ -21,6 +21,7 @@ #include <plat/cpu.h> #include "omap_opp_data.h" +#include "pm.h" static struct omap_opp_def __initdata omap34xx_opp_def_list[] = { /* MPU OPP1 */ @@ -88,7 +89,7 @@ static struct omap_opp_def __initdata omap36xx_opp_def_list[] = { /** * omap3_opp_init() - initialize omap3 opp table */ -static int __init omap3_opp_init(void) +int __init omap3_opp_init(void) { int r = -ENODEV; -- 1.7.0.4