aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/cpuidle34xx.c2
-rw-r--r--arch/arm/mach-omap2/pm24xx.c2
-rw-r--r--arch/arm/mach-omap2/pm34xx.c2
-rw-r--r--arch/arm/mach-omap2/pm44xx.c2
-rw-r--r--arch/arm/mach-omap2/serial.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c
index f3e043fe5eb8..11b89e9687f3 100644
--- a/arch/arm/mach-omap2/cpuidle34xx.c
+++ b/arch/arm/mach-omap2/cpuidle34xx.c
@@ -252,7 +252,7 @@ static int omap3_enter_idle_bm(struct cpuidle_device *dev,
252 * FIXME: we currently manage device-specific idle states 252 * FIXME: we currently manage device-specific idle states
253 * for PER and CORE in combination with CPU-specific 253 * for PER and CORE in combination with CPU-specific
254 * idle states. This is wrong, and device-specific 254 * idle states. This is wrong, and device-specific
255 * idle managment needs to be separated out into 255 * idle management needs to be separated out into
256 * its own code. 256 * its own code.
257 */ 257 */
258 258
diff --git a/arch/arm/mach-omap2/pm24xx.c b/arch/arm/mach-omap2/pm24xx.c
index dac2d1d9987d..9e5dc8ed51e9 100644
--- a/arch/arm/mach-omap2/pm24xx.c
+++ b/arch/arm/mach-omap2/pm24xx.c
@@ -350,7 +350,7 @@ static void omap2_pm_end(void)
350 enable_hlt(); 350 enable_hlt();
351} 351}
352 352
353static struct platform_suspend_ops omap_pm_ops = { 353static const struct platform_suspend_ops omap_pm_ops = {
354 .begin = omap2_pm_begin, 354 .begin = omap2_pm_begin,
355 .enter = omap2_pm_enter, 355 .enter = omap2_pm_enter,
356 .end = omap2_pm_end, 356 .end = omap2_pm_end,
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index 5b323f28da2d..8cbbeade4b8a 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -605,7 +605,7 @@ static void omap3_pm_end(void)
605 return; 605 return;
606} 606}
607 607
608static struct platform_suspend_ops omap_pm_ops = { 608static const struct platform_suspend_ops omap_pm_ops = {
609 .begin = omap3_pm_begin, 609 .begin = omap3_pm_begin,
610 .end = omap3_pm_end, 610 .end = omap3_pm_end,
611 .enter = omap3_pm_enter, 611 .enter = omap3_pm_enter,
diff --git a/arch/arm/mach-omap2/pm44xx.c b/arch/arm/mach-omap2/pm44xx.c
index e9f4862c4de4..76cfff2db514 100644
--- a/arch/arm/mach-omap2/pm44xx.c
+++ b/arch/arm/mach-omap2/pm44xx.c
@@ -65,7 +65,7 @@ static void omap4_pm_end(void)
65 return; 65 return;
66} 66}
67 67
68static struct platform_suspend_ops omap_pm_ops = { 68static const struct platform_suspend_ops omap_pm_ops = {
69 .begin = omap4_pm_begin, 69 .begin = omap4_pm_begin,
70 .end = omap4_pm_end, 70 .end = omap4_pm_end,
71 .enter = omap4_pm_enter, 71 .enter = omap4_pm_enter,
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index c64578853a8d..302da7403a10 100644
--- a/arch/arm/mach-omap2/serial.c
+++ b/arch/arm/mach-omap2/serial.c
@@ -852,7 +852,7 @@ void __init omap_serial_init_port(struct omap_board_data *bdata)
852} 852}
853 853
854/** 854/**
855 * omap_serial_init() - intialize all supported serial ports 855 * omap_serial_init() - initialize all supported serial ports
856 * 856 *
857 * Initializes all available UARTs as serial ports. Platforms 857 * Initializes all available UARTs as serial ports. Platforms
858 * can call this function when they want to have default behaviour 858 * can call this function when they want to have default behaviour