diff options
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap/dvfs/0018-omap3-4-opp-make-omapx_opp_init-non-static.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap/dvfs/0018-omap3-4-opp-make-omapx_opp_init-non-static.patch | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap/dvfs/0018-omap3-4-opp-make-omapx_opp_init-non-static.patch b/extras/recipes-kernel/linux/linux-omap/dvfs/0018-omap3-4-opp-make-omapx_opp_init-non-static.patch new file mode 100644 index 00000000..e21fe964 --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap/dvfs/0018-omap3-4-opp-make-omapx_opp_init-non-static.patch | |||
@@ -0,0 +1,62 @@ | |||
1 | From 16c7667d2908631149ef38b7b6dd7b08d6d5502e Mon Sep 17 00:00:00 2001 | ||
2 | From: Nishanth Menon <nm@ti.com> | ||
3 | Date: Wed, 5 Jan 2011 14:14:55 -0600 | ||
4 | Subject: [PATCH 18/20] omap3|4: opp: make omapx_opp_init non-static | ||
5 | |||
6 | omap3 and omap4 opp_init should be made non-static to allow | ||
7 | for platform specific opp table tweaking. making these static | ||
8 | conflicts with the definition in pm.h(global) as well. | ||
9 | we include pm.h as well to ensure that there are no such prototype | ||
10 | conflicts with actual implementation in the future. | ||
11 | |||
12 | Signed-off-by: Nishanth Menon <nm@ti.com> | ||
13 | --- | ||
14 | arch/arm/mach-omap2/opp3xxx_data.c | 3 ++- | ||
15 | arch/arm/mach-omap2/opp4xxx_data.c | 3 ++- | ||
16 | 2 files changed, 4 insertions(+), 2 deletions(-) | ||
17 | |||
18 | diff --git a/arch/arm/mach-omap2/opp3xxx_data.c b/arch/arm/mach-omap2/opp3xxx_data.c | ||
19 | index 0486fce..fd3a1af 100644 | ||
20 | --- a/arch/arm/mach-omap2/opp3xxx_data.c | ||
21 | +++ b/arch/arm/mach-omap2/opp3xxx_data.c | ||
22 | @@ -21,6 +21,7 @@ | ||
23 | #include <plat/cpu.h> | ||
24 | |||
25 | #include "omap_opp_data.h" | ||
26 | +#include "pm.h" | ||
27 | |||
28 | static struct omap_opp_def __initdata omap34xx_opp_def_list[] = { | ||
29 | /* MPU OPP1 */ | ||
30 | @@ -88,7 +89,7 @@ static struct omap_opp_def __initdata omap36xx_opp_def_list[] = { | ||
31 | /** | ||
32 | * omap3_opp_init() - initialize omap3 opp table | ||
33 | */ | ||
34 | -static int __init omap3_opp_init(void) | ||
35 | +int __init omap3_opp_init(void) | ||
36 | { | ||
37 | int r = -ENODEV; | ||
38 | |||
39 | diff --git a/arch/arm/mach-omap2/opp4xxx_data.c b/arch/arm/mach-omap2/opp4xxx_data.c | ||
40 | index a11fa56..f0e9939 100644 | ||
41 | --- a/arch/arm/mach-omap2/opp4xxx_data.c | ||
42 | +++ b/arch/arm/mach-omap2/opp4xxx_data.c | ||
43 | @@ -22,6 +22,7 @@ | ||
44 | #include <plat/cpu.h> | ||
45 | |||
46 | #include "omap_opp_data.h" | ||
47 | +#include "pm.h" | ||
48 | |||
49 | static struct omap_opp_def __initdata omap44xx_opp_def_list[] = { | ||
50 | /* MPU OPP1 - OPP50 */ | ||
51 | @@ -42,7 +43,7 @@ static struct omap_opp_def __initdata omap44xx_opp_def_list[] = { | ||
52 | /** | ||
53 | * omap4_opp_init() - initialize omap4 opp table | ||
54 | */ | ||
55 | -static int __init omap4_opp_init(void) | ||
56 | +int __init omap4_opp_init(void) | ||
57 | { | ||
58 | int r = -ENODEV; | ||
59 | |||
60 | -- | ||
61 | 1.6.6.1 | ||
62 | |||