diff options
author | Olof Johansson <olof@lixom.net> | 2013-12-22 17:02:34 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-12-22 17:02:34 -0500 |
commit | bb748890d13232dba4a3975368bfeea6896368ae (patch) | |
tree | aac4a418ff9f990b374655576511bd5a38664b0c /arch/arm/mach-exynos/pm.c | |
parent | 650286d25729b34402ee2545f2c0113d8a142427 (diff) | |
parent | 7c394e7be4d267c02eaaac8fa197a7c1b023c99b (diff) |
Merge tag 'samsung-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/cleanup
From Kukjin Kim:
Samsung cleanup for v3.14
- remove unused SAMSUNG_GPIOLIB_4BIT and IRQF_DISABLED
- constify immutable PMU data table and PM clksrc register
- make const struct for sleep_save
* tag 'samsung-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
ARM: EXYNOS: Constify clksrc immutable register restore tables
ARM: SAMSUNG: Let s3c_pm_do_restore_*() take const sleep_save
ARM: EXYNOS: Constify data tables for pmu
ARM: SAMSUNG: remove IRQF_DISABLED
ARM: SAMSUNG: remove unused SAMSUNG_GPIOLIB_4BIT Kconfig parameter
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-exynos/pm.c')
-rw-r--r-- | arch/arm/mach-exynos/pm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index c679db577269..7fb0f13d600d 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | #include "common.h" | 37 | #include "common.h" |
38 | 38 | ||
39 | static struct sleep_save exynos4_set_clksrc[] = { | 39 | static const struct sleep_save exynos4_set_clksrc[] = { |
40 | { .reg = EXYNOS4_CLKSRC_MASK_TOP , .val = 0x00000001, }, | 40 | { .reg = EXYNOS4_CLKSRC_MASK_TOP , .val = 0x00000001, }, |
41 | { .reg = EXYNOS4_CLKSRC_MASK_CAM , .val = 0x11111111, }, | 41 | { .reg = EXYNOS4_CLKSRC_MASK_CAM , .val = 0x11111111, }, |
42 | { .reg = EXYNOS4_CLKSRC_MASK_TV , .val = 0x00000111, }, | 42 | { .reg = EXYNOS4_CLKSRC_MASK_TV , .val = 0x00000111, }, |
@@ -48,7 +48,7 @@ static struct sleep_save exynos4_set_clksrc[] = { | |||
48 | { .reg = EXYNOS4_CLKSRC_MASK_DMC , .val = 0x00010000, }, | 48 | { .reg = EXYNOS4_CLKSRC_MASK_DMC , .val = 0x00010000, }, |
49 | }; | 49 | }; |
50 | 50 | ||
51 | static struct sleep_save exynos4210_set_clksrc[] = { | 51 | static const struct sleep_save exynos4210_set_clksrc[] = { |
52 | { .reg = EXYNOS4210_CLKSRC_MASK_LCD1 , .val = 0x00001111, }, | 52 | { .reg = EXYNOS4210_CLKSRC_MASK_LCD1 , .val = 0x00001111, }, |
53 | }; | 53 | }; |
54 | 54 | ||