diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-19 09:37:54 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-19 16:55:06 -0500 |
commit | 464ed18ebdb6236fcff59d2a35d4d2e28668435a (patch) | |
tree | 4d0f84c41d849ef5cf2ff5fb6453d0fc558b0c02 | |
parent | 71504e519d779261f03fb547c0439500b2e5fa9b (diff) |
PM: Eliminate CONFIG_PM_RUNTIME
Having switched over all of the users of CONFIG_PM_RUNTIME to use
CONFIG_PM directly, turn the latter into a user-selectable option
and drop the former entirely from the tree.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Kevin Hilman <khilman@linaro.org>
37 files changed, 39 insertions, 48 deletions
diff --git a/arch/arm/configs/ape6evm_defconfig b/arch/arm/configs/ape6evm_defconfig index db81d8ce4c03..9e9a72e3d30f 100644 --- a/arch/arm/configs/ape6evm_defconfig +++ b/arch/arm/configs/ape6evm_defconfig | |||
@@ -33,7 +33,7 @@ CONFIG_ARM_APPENDED_DTB=y | |||
33 | CONFIG_VFP=y | 33 | CONFIG_VFP=y |
34 | CONFIG_NEON=y | 34 | CONFIG_NEON=y |
35 | CONFIG_BINFMT_MISC=y | 35 | CONFIG_BINFMT_MISC=y |
36 | CONFIG_PM_RUNTIME=y | 36 | CONFIG_PM=y |
37 | CONFIG_NET=y | 37 | CONFIG_NET=y |
38 | CONFIG_PACKET=y | 38 | CONFIG_PACKET=y |
39 | CONFIG_UNIX=y | 39 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/armadillo800eva_defconfig b/arch/arm/configs/armadillo800eva_defconfig index d9675c68a399..5666e3700a82 100644 --- a/arch/arm/configs/armadillo800eva_defconfig +++ b/arch/arm/configs/armadillo800eva_defconfig | |||
@@ -43,7 +43,7 @@ CONFIG_KEXEC=y | |||
43 | CONFIG_VFP=y | 43 | CONFIG_VFP=y |
44 | CONFIG_NEON=y | 44 | CONFIG_NEON=y |
45 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | 45 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set |
46 | CONFIG_PM_RUNTIME=y | 46 | CONFIG_PM=y |
47 | CONFIG_NET=y | 47 | CONFIG_NET=y |
48 | CONFIG_PACKET=y | 48 | CONFIG_PACKET=y |
49 | CONFIG_UNIX=y | 49 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/bcm_defconfig b/arch/arm/configs/bcm_defconfig index 83a87e48901c..7117662bab2e 100644 --- a/arch/arm/configs/bcm_defconfig +++ b/arch/arm/configs/bcm_defconfig | |||
@@ -39,7 +39,7 @@ CONFIG_CPU_IDLE=y | |||
39 | CONFIG_VFP=y | 39 | CONFIG_VFP=y |
40 | CONFIG_NEON=y | 40 | CONFIG_NEON=y |
41 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | 41 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set |
42 | CONFIG_PM_RUNTIME=y | 42 | CONFIG_PM=y |
43 | CONFIG_NET=y | 43 | CONFIG_NET=y |
44 | CONFIG_PACKET=y | 44 | CONFIG_PACKET=y |
45 | CONFIG_PACKET_DIAG=y | 45 | CONFIG_PACKET_DIAG=y |
diff --git a/arch/arm/configs/bockw_defconfig b/arch/arm/configs/bockw_defconfig index 1dde5daa84f9..3125e00f05ab 100644 --- a/arch/arm/configs/bockw_defconfig +++ b/arch/arm/configs/bockw_defconfig | |||
@@ -29,7 +29,7 @@ CONFIG_ZBOOT_ROM_BSS=0x0 | |||
29 | CONFIG_ARM_APPENDED_DTB=y | 29 | CONFIG_ARM_APPENDED_DTB=y |
30 | CONFIG_VFP=y | 30 | CONFIG_VFP=y |
31 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | 31 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set |
32 | CONFIG_PM_RUNTIME=y | 32 | CONFIG_PM=y |
33 | CONFIG_NET=y | 33 | CONFIG_NET=y |
34 | CONFIG_PACKET=y | 34 | CONFIG_PACKET=y |
35 | CONFIG_UNIX=y | 35 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig index 759f9b0053e2..235842c9ba96 100644 --- a/arch/arm/configs/davinci_all_defconfig +++ b/arch/arm/configs/davinci_all_defconfig | |||
@@ -49,7 +49,7 @@ CONFIG_CPU_FREQ_GOV_PERFORMANCE=m | |||
49 | CONFIG_CPU_FREQ_GOV_POWERSAVE=m | 49 | CONFIG_CPU_FREQ_GOV_POWERSAVE=m |
50 | CONFIG_CPU_FREQ_GOV_ONDEMAND=m | 50 | CONFIG_CPU_FREQ_GOV_ONDEMAND=m |
51 | CONFIG_CPU_IDLE=y | 51 | CONFIG_CPU_IDLE=y |
52 | CONFIG_PM_RUNTIME=y | 52 | CONFIG_PM=y |
53 | CONFIG_NET=y | 53 | CONFIG_NET=y |
54 | CONFIG_PACKET=y | 54 | CONFIG_PACKET=y |
55 | CONFIG_UNIX=y | 55 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index c41990729024..5ef14de00a29 100644 --- a/arch/arm/configs/exynos_defconfig +++ b/arch/arm/configs/exynos_defconfig | |||
@@ -27,7 +27,7 @@ CONFIG_ARM_ATAG_DTB_COMPAT=y | |||
27 | CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc mem=256M" | 27 | CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc mem=256M" |
28 | CONFIG_VFP=y | 28 | CONFIG_VFP=y |
29 | CONFIG_NEON=y | 29 | CONFIG_NEON=y |
30 | CONFIG_PM_RUNTIME=y | 30 | CONFIG_PM=y |
31 | CONFIG_NET=y | 31 | CONFIG_NET=y |
32 | CONFIG_PACKET=y | 32 | CONFIG_PACKET=y |
33 | CONFIG_UNIX=y | 33 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/ezx_defconfig b/arch/arm/configs/ezx_defconfig index eb440aae4283..ea316c4b890e 100644 --- a/arch/arm/configs/ezx_defconfig +++ b/arch/arm/configs/ezx_defconfig | |||
@@ -39,7 +39,6 @@ CONFIG_BINFMT_AOUT=m | |||
39 | CONFIG_BINFMT_MISC=m | 39 | CONFIG_BINFMT_MISC=m |
40 | CONFIG_PM=y | 40 | CONFIG_PM=y |
41 | CONFIG_APM_EMULATION=y | 41 | CONFIG_APM_EMULATION=y |
42 | CONFIG_PM_RUNTIME=y | ||
43 | CONFIG_NET=y | 42 | CONFIG_NET=y |
44 | CONFIG_PACKET=y | 43 | CONFIG_PACKET=y |
45 | CONFIG_UNIX=y | 44 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/hisi_defconfig b/arch/arm/configs/hisi_defconfig index 1fe3621faf65..112543665dd7 100644 --- a/arch/arm/configs/hisi_defconfig +++ b/arch/arm/configs/hisi_defconfig | |||
@@ -18,7 +18,7 @@ CONFIG_ARM_APPENDED_DTB=y | |||
18 | CONFIG_ARM_ATAG_DTB_COMPAT=y | 18 | CONFIG_ARM_ATAG_DTB_COMPAT=y |
19 | CONFIG_NEON=y | 19 | CONFIG_NEON=y |
20 | CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y | 20 | CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y |
21 | CONFIG_PM_RUNTIME=y | 21 | CONFIG_PM=y |
22 | CONFIG_NET=y | 22 | CONFIG_NET=y |
23 | CONFIG_PACKET=y | 23 | CONFIG_PACKET=y |
24 | CONFIG_UNIX=y | 24 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/imote2_defconfig b/arch/arm/configs/imote2_defconfig index 182e54692664..18e59feaa307 100644 --- a/arch/arm/configs/imote2_defconfig +++ b/arch/arm/configs/imote2_defconfig | |||
@@ -31,7 +31,6 @@ CONFIG_BINFMT_AOUT=m | |||
31 | CONFIG_BINFMT_MISC=m | 31 | CONFIG_BINFMT_MISC=m |
32 | CONFIG_PM=y | 32 | CONFIG_PM=y |
33 | CONFIG_APM_EMULATION=y | 33 | CONFIG_APM_EMULATION=y |
34 | CONFIG_PM_RUNTIME=y | ||
35 | CONFIG_NET=y | 34 | CONFIG_NET=y |
36 | CONFIG_PACKET=y | 35 | CONFIG_PACKET=y |
37 | CONFIG_UNIX=y | 36 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index f707cd2691cf..7c2075a07eba 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig | |||
@@ -54,7 +54,7 @@ CONFIG_ARM_IMX6Q_CPUFREQ=y | |||
54 | CONFIG_VFP=y | 54 | CONFIG_VFP=y |
55 | CONFIG_NEON=y | 55 | CONFIG_NEON=y |
56 | CONFIG_BINFMT_MISC=m | 56 | CONFIG_BINFMT_MISC=m |
57 | CONFIG_PM_RUNTIME=y | 57 | CONFIG_PM=y |
58 | CONFIG_PM_DEBUG=y | 58 | CONFIG_PM_DEBUG=y |
59 | CONFIG_PM_TEST_SUSPEND=y | 59 | CONFIG_PM_TEST_SUSPEND=y |
60 | CONFIG_NET=y | 60 | CONFIG_NET=y |
diff --git a/arch/arm/configs/keystone_defconfig b/arch/arm/configs/keystone_defconfig index 20a3ff99fae2..a2067cbfe173 100644 --- a/arch/arm/configs/keystone_defconfig +++ b/arch/arm/configs/keystone_defconfig | |||
@@ -30,7 +30,7 @@ CONFIG_HIGHMEM=y | |||
30 | CONFIG_VFP=y | 30 | CONFIG_VFP=y |
31 | CONFIG_NEON=y | 31 | CONFIG_NEON=y |
32 | # CONFIG_SUSPEND is not set | 32 | # CONFIG_SUSPEND is not set |
33 | CONFIG_PM_RUNTIME=y | 33 | CONFIG_PM=y |
34 | CONFIG_NET=y | 34 | CONFIG_NET=y |
35 | CONFIG_PACKET=y | 35 | CONFIG_PACKET=y |
36 | CONFIG_UNIX=y | 36 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/kzm9g_defconfig b/arch/arm/configs/kzm9g_defconfig index 8cb115d74fdf..5d63fc5d2d48 100644 --- a/arch/arm/configs/kzm9g_defconfig +++ b/arch/arm/configs/kzm9g_defconfig | |||
@@ -43,7 +43,7 @@ CONFIG_KEXEC=y | |||
43 | CONFIG_VFP=y | 43 | CONFIG_VFP=y |
44 | CONFIG_NEON=y | 44 | CONFIG_NEON=y |
45 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | 45 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set |
46 | CONFIG_PM_RUNTIME=y | 46 | CONFIG_PM=y |
47 | CONFIG_NET=y | 47 | CONFIG_NET=y |
48 | CONFIG_PACKET=y | 48 | CONFIG_PACKET=y |
49 | CONFIG_UNIX=y | 49 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/lager_defconfig b/arch/arm/configs/lager_defconfig index 929c571ea29b..a82afc916a89 100644 --- a/arch/arm/configs/lager_defconfig +++ b/arch/arm/configs/lager_defconfig | |||
@@ -37,7 +37,7 @@ CONFIG_AUTO_ZRELADDR=y | |||
37 | CONFIG_VFP=y | 37 | CONFIG_VFP=y |
38 | CONFIG_NEON=y | 38 | CONFIG_NEON=y |
39 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | 39 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set |
40 | CONFIG_PM_RUNTIME=y | 40 | CONFIG_PM=y |
41 | CONFIG_NET=y | 41 | CONFIG_NET=y |
42 | CONFIG_PACKET=y | 42 | CONFIG_PACKET=y |
43 | CONFIG_UNIX=y | 43 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/mackerel_defconfig b/arch/arm/configs/mackerel_defconfig index 57ececba2ae6..05a529311b4d 100644 --- a/arch/arm/configs/mackerel_defconfig +++ b/arch/arm/configs/mackerel_defconfig | |||
@@ -28,7 +28,6 @@ CONFIG_KEXEC=y | |||
28 | CONFIG_VFP=y | 28 | CONFIG_VFP=y |
29 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | 29 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set |
30 | CONFIG_PM=y | 30 | CONFIG_PM=y |
31 | CONFIG_PM_RUNTIME=y | ||
32 | CONFIG_NET=y | 31 | CONFIG_NET=y |
33 | CONFIG_PACKET=y | 32 | CONFIG_PACKET=y |
34 | CONFIG_UNIX=y | 33 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/marzen_defconfig b/arch/arm/configs/marzen_defconfig index ff91630d34e1..3c8b6d823189 100644 --- a/arch/arm/configs/marzen_defconfig +++ b/arch/arm/configs/marzen_defconfig | |||
@@ -33,7 +33,7 @@ CONFIG_ARM_APPENDED_DTB=y | |||
33 | CONFIG_VFP=y | 33 | CONFIG_VFP=y |
34 | CONFIG_KEXEC=y | 34 | CONFIG_KEXEC=y |
35 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | 35 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set |
36 | CONFIG_PM_RUNTIME=y | 36 | CONFIG_PM=y |
37 | CONFIG_NET=y | 37 | CONFIG_NET=y |
38 | CONFIG_PACKET=y | 38 | CONFIG_PACKET=y |
39 | CONFIG_UNIX=y | 39 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/omap1_defconfig b/arch/arm/configs/omap1_defconfig index 115cda9f3260..a7dce674f1be 100644 --- a/arch/arm/configs/omap1_defconfig +++ b/arch/arm/configs/omap1_defconfig | |||
@@ -63,7 +63,6 @@ CONFIG_FPE_NWFPE=y | |||
63 | CONFIG_BINFMT_MISC=y | 63 | CONFIG_BINFMT_MISC=y |
64 | CONFIG_PM=y | 64 | CONFIG_PM=y |
65 | # CONFIG_SUSPEND is not set | 65 | # CONFIG_SUSPEND is not set |
66 | CONFIG_PM_RUNTIME=y | ||
67 | CONFIG_NET=y | 66 | CONFIG_NET=y |
68 | CONFIG_PACKET=y | 67 | CONFIG_PACKET=y |
69 | CONFIG_UNIX=y | 68 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/prima2_defconfig b/arch/arm/configs/prima2_defconfig index 23591dba47a0..f610230b9c1f 100644 --- a/arch/arm/configs/prima2_defconfig +++ b/arch/arm/configs/prima2_defconfig | |||
@@ -18,7 +18,7 @@ CONFIG_PREEMPT=y | |||
18 | CONFIG_AEABI=y | 18 | CONFIG_AEABI=y |
19 | CONFIG_KEXEC=y | 19 | CONFIG_KEXEC=y |
20 | CONFIG_BINFMT_MISC=y | 20 | CONFIG_BINFMT_MISC=y |
21 | CONFIG_PM_RUNTIME=y | 21 | CONFIG_PM=y |
22 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 22 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
23 | CONFIG_BLK_DEV_LOOP=y | 23 | CONFIG_BLK_DEV_LOOP=y |
24 | CONFIG_BLK_DEV_RAM=y | 24 | CONFIG_BLK_DEV_RAM=y |
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index b58fb32770a0..afa24799477a 100644 --- a/arch/arm/configs/sama5_defconfig +++ b/arch/arm/configs/sama5_defconfig | |||
@@ -32,7 +32,7 @@ CONFIG_VFP=y | |||
32 | CONFIG_NEON=y | 32 | CONFIG_NEON=y |
33 | CONFIG_KERNEL_MODE_NEON=y | 33 | CONFIG_KERNEL_MODE_NEON=y |
34 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | 34 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set |
35 | CONFIG_PM_RUNTIME=y | 35 | CONFIG_PM=y |
36 | CONFIG_PM_DEBUG=y | 36 | CONFIG_PM_DEBUG=y |
37 | CONFIG_PM_ADVANCED_DEBUG=y | 37 | CONFIG_PM_ADVANCED_DEBUG=y |
38 | CONFIG_NET=y | 38 | CONFIG_NET=y |
diff --git a/arch/arm/configs/shmobile_defconfig b/arch/arm/configs/shmobile_defconfig index df2c0f514b0a..3df6ca0c1d1f 100644 --- a/arch/arm/configs/shmobile_defconfig +++ b/arch/arm/configs/shmobile_defconfig | |||
@@ -39,7 +39,7 @@ CONFIG_KEXEC=y | |||
39 | CONFIG_VFP=y | 39 | CONFIG_VFP=y |
40 | CONFIG_NEON=y | 40 | CONFIG_NEON=y |
41 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | 41 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set |
42 | CONFIG_PM_RUNTIME=y | 42 | CONFIG_PM=y |
43 | CONFIG_NET=y | 43 | CONFIG_NET=y |
44 | CONFIG_PACKET=y | 44 | CONFIG_PACKET=y |
45 | CONFIG_UNIX=y | 45 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index f7ac0379850f..7a342d2780a8 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig | |||
@@ -11,7 +11,7 @@ CONFIG_ARM_APPENDED_DTB=y | |||
11 | CONFIG_ARM_ATAG_DTB_COMPAT=y | 11 | CONFIG_ARM_ATAG_DTB_COMPAT=y |
12 | CONFIG_VFP=y | 12 | CONFIG_VFP=y |
13 | CONFIG_NEON=y | 13 | CONFIG_NEON=y |
14 | CONFIG_PM_RUNTIME=y | 14 | CONFIG_PM=y |
15 | CONFIG_NET=y | 15 | CONFIG_NET=y |
16 | CONFIG_PACKET=y | 16 | CONFIG_PACKET=y |
17 | CONFIG_UNIX=y | 17 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig index 40750f93aa83..3ea9c3377ccb 100644 --- a/arch/arm/configs/tegra_defconfig +++ b/arch/arm/configs/tegra_defconfig | |||
@@ -46,7 +46,7 @@ CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y | |||
46 | CONFIG_CPU_IDLE=y | 46 | CONFIG_CPU_IDLE=y |
47 | CONFIG_VFP=y | 47 | CONFIG_VFP=y |
48 | CONFIG_NEON=y | 48 | CONFIG_NEON=y |
49 | CONFIG_PM_RUNTIME=y | 49 | CONFIG_PM=y |
50 | CONFIG_NET=y | 50 | CONFIG_NET=y |
51 | CONFIG_PACKET=y | 51 | CONFIG_PACKET=y |
52 | CONFIG_UNIX=y | 52 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/u8500_defconfig b/arch/arm/configs/u8500_defconfig index d219d6a43238..6a1c9898fd03 100644 --- a/arch/arm/configs/u8500_defconfig +++ b/arch/arm/configs/u8500_defconfig | |||
@@ -25,7 +25,7 @@ CONFIG_CPU_IDLE=y | |||
25 | CONFIG_ARM_U8500_CPUIDLE=y | 25 | CONFIG_ARM_U8500_CPUIDLE=y |
26 | CONFIG_VFP=y | 26 | CONFIG_VFP=y |
27 | CONFIG_NEON=y | 27 | CONFIG_NEON=y |
28 | CONFIG_PM_RUNTIME=y | 28 | CONFIG_PM=y |
29 | CONFIG_NET=y | 29 | CONFIG_NET=y |
30 | CONFIG_PACKET=y | 30 | CONFIG_PACKET=y |
31 | CONFIG_UNIX=y | 31 | CONFIG_UNIX=y |
diff --git a/arch/arm/configs/vt8500_v6_v7_defconfig b/arch/arm/configs/vt8500_v6_v7_defconfig index 9e7a25639690..1bfaa7bfc392 100644 --- a/arch/arm/configs/vt8500_v6_v7_defconfig +++ b/arch/arm/configs/vt8500_v6_v7_defconfig | |||
@@ -16,7 +16,7 @@ CONFIG_ARM_APPENDED_DTB=y | |||
16 | CONFIG_ARM_ATAG_DTB_COMPAT=y | 16 | CONFIG_ARM_ATAG_DTB_COMPAT=y |
17 | CONFIG_VFP=y | 17 | CONFIG_VFP=y |
18 | CONFIG_NEON=y | 18 | CONFIG_NEON=y |
19 | CONFIG_PM_RUNTIME=y | 19 | CONFIG_PM=y |
20 | CONFIG_NET=y | 20 | CONFIG_NET=y |
21 | CONFIG_UNIX=y | 21 | CONFIG_UNIX=y |
22 | CONFIG_INET=y | 22 | CONFIG_INET=y |
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index f0edec199cd4..6ab656cc4f16 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -15,7 +15,7 @@ config ARCH_OMAP3 | |||
15 | select ARM_CPU_SUSPEND if PM | 15 | select ARM_CPU_SUSPEND if PM |
16 | select OMAP_INTERCONNECT | 16 | select OMAP_INTERCONNECT |
17 | select PM_OPP if PM | 17 | select PM_OPP if PM |
18 | select PM_RUNTIME if CPU_IDLE | 18 | select PM if CPU_IDLE |
19 | select SOC_HAS_OMAP2_SDRC | 19 | select SOC_HAS_OMAP2_SDRC |
20 | 20 | ||
21 | config ARCH_OMAP4 | 21 | config ARCH_OMAP4 |
@@ -32,7 +32,7 @@ config ARCH_OMAP4 | |||
32 | select PL310_ERRATA_588369 if CACHE_L2X0 | 32 | select PL310_ERRATA_588369 if CACHE_L2X0 |
33 | select PL310_ERRATA_727915 if CACHE_L2X0 | 33 | select PL310_ERRATA_727915 if CACHE_L2X0 |
34 | select PM_OPP if PM | 34 | select PM_OPP if PM |
35 | select PM_RUNTIME if CPU_IDLE | 35 | select PM if CPU_IDLE |
36 | select ARM_ERRATA_754322 | 36 | select ARM_ERRATA_754322 |
37 | select ARM_ERRATA_775420 | 37 | select ARM_ERRATA_775420 |
38 | 38 | ||
@@ -103,7 +103,7 @@ config ARCH_OMAP2PLUS_TYPICAL | |||
103 | select I2C_OMAP | 103 | select I2C_OMAP |
104 | select MENELAUS if ARCH_OMAP2 | 104 | select MENELAUS if ARCH_OMAP2 |
105 | select NEON if CPU_V7 | 105 | select NEON if CPU_V7 |
106 | select PM_RUNTIME | 106 | select PM |
107 | select REGULATOR | 107 | select REGULATOR |
108 | select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 | 108 | select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 |
109 | select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4 | 109 | select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4 |
diff --git a/arch/mips/configs/db1xxx_defconfig b/arch/mips/configs/db1xxx_defconfig index 46e8f7676a15..3bdb72a70364 100644 --- a/arch/mips/configs/db1xxx_defconfig +++ b/arch/mips/configs/db1xxx_defconfig | |||
@@ -36,7 +36,7 @@ CONFIG_PCI=y | |||
36 | CONFIG_PCI_REALLOC_ENABLE_AUTO=y | 36 | CONFIG_PCI_REALLOC_ENABLE_AUTO=y |
37 | CONFIG_PCCARD=y | 37 | CONFIG_PCCARD=y |
38 | CONFIG_PCMCIA_ALCHEMY_DEVBOARD=y | 38 | CONFIG_PCMCIA_ALCHEMY_DEVBOARD=y |
39 | CONFIG_PM_RUNTIME=y | 39 | CONFIG_PM=y |
40 | CONFIG_NET=y | 40 | CONFIG_NET=y |
41 | CONFIG_PACKET=y | 41 | CONFIG_PACKET=y |
42 | CONFIG_PACKET_DIAG=y | 42 | CONFIG_PACKET_DIAG=y |
diff --git a/arch/mips/configs/lemote2f_defconfig b/arch/mips/configs/lemote2f_defconfig index 227a9de32246..e51aad9a94b1 100644 --- a/arch/mips/configs/lemote2f_defconfig +++ b/arch/mips/configs/lemote2f_defconfig | |||
@@ -37,7 +37,6 @@ CONFIG_MIPS32_N32=y | |||
37 | CONFIG_PM=y | 37 | CONFIG_PM=y |
38 | CONFIG_HIBERNATION=y | 38 | CONFIG_HIBERNATION=y |
39 | CONFIG_PM_STD_PARTITION="/dev/hda3" | 39 | CONFIG_PM_STD_PARTITION="/dev/hda3" |
40 | CONFIG_PM_RUNTIME=y | ||
41 | CONFIG_CPU_FREQ=y | 40 | CONFIG_CPU_FREQ=y |
42 | CONFIG_CPU_FREQ_DEBUG=y | 41 | CONFIG_CPU_FREQ_DEBUG=y |
43 | CONFIG_CPU_FREQ_STAT=m | 42 | CONFIG_CPU_FREQ_STAT=m |
diff --git a/arch/mips/configs/loongson3_defconfig b/arch/mips/configs/loongson3_defconfig index 1c6191ebd583..7eabcd2031ea 100644 --- a/arch/mips/configs/loongson3_defconfig +++ b/arch/mips/configs/loongson3_defconfig | |||
@@ -58,7 +58,7 @@ CONFIG_BINFMT_MISC=m | |||
58 | CONFIG_MIPS32_COMPAT=y | 58 | CONFIG_MIPS32_COMPAT=y |
59 | CONFIG_MIPS32_O32=y | 59 | CONFIG_MIPS32_O32=y |
60 | CONFIG_MIPS32_N32=y | 60 | CONFIG_MIPS32_N32=y |
61 | CONFIG_PM_RUNTIME=y | 61 | CONFIG_PM=y |
62 | CONFIG_NET=y | 62 | CONFIG_NET=y |
63 | CONFIG_PACKET=y | 63 | CONFIG_PACKET=y |
64 | CONFIG_UNIX=y | 64 | CONFIG_UNIX=y |
diff --git a/arch/mips/configs/nlm_xlp_defconfig b/arch/mips/configs/nlm_xlp_defconfig index 70509a48df82..b3d1d37f85ea 100644 --- a/arch/mips/configs/nlm_xlp_defconfig +++ b/arch/mips/configs/nlm_xlp_defconfig | |||
@@ -61,7 +61,7 @@ CONFIG_BINFMT_MISC=y | |||
61 | CONFIG_MIPS32_COMPAT=y | 61 | CONFIG_MIPS32_COMPAT=y |
62 | CONFIG_MIPS32_O32=y | 62 | CONFIG_MIPS32_O32=y |
63 | CONFIG_MIPS32_N32=y | 63 | CONFIG_MIPS32_N32=y |
64 | CONFIG_PM_RUNTIME=y | 64 | CONFIG_PM=y |
65 | CONFIG_PM_DEBUG=y | 65 | CONFIG_PM_DEBUG=y |
66 | CONFIG_NET=y | 66 | CONFIG_NET=y |
67 | CONFIG_PACKET=y | 67 | CONFIG_PACKET=y |
diff --git a/arch/mips/configs/nlm_xlr_defconfig b/arch/mips/configs/nlm_xlr_defconfig index 82207e8079f3..3d8016d6cf3e 100644 --- a/arch/mips/configs/nlm_xlr_defconfig +++ b/arch/mips/configs/nlm_xlr_defconfig | |||
@@ -41,7 +41,7 @@ CONFIG_PCI=y | |||
41 | CONFIG_PCI_MSI=y | 41 | CONFIG_PCI_MSI=y |
42 | CONFIG_PCI_DEBUG=y | 42 | CONFIG_PCI_DEBUG=y |
43 | CONFIG_BINFMT_MISC=m | 43 | CONFIG_BINFMT_MISC=m |
44 | CONFIG_PM_RUNTIME=y | 44 | CONFIG_PM=y |
45 | CONFIG_PM_DEBUG=y | 45 | CONFIG_PM_DEBUG=y |
46 | CONFIG_NET=y | 46 | CONFIG_NET=y |
47 | CONFIG_PACKET=y | 47 | CONFIG_PACKET=y |
diff --git a/arch/powerpc/configs/ps3_defconfig b/arch/powerpc/configs/ps3_defconfig index 2e637c881d2b..879de5efb073 100644 --- a/arch/powerpc/configs/ps3_defconfig +++ b/arch/powerpc/configs/ps3_defconfig | |||
@@ -36,7 +36,7 @@ CONFIG_KEXEC=y | |||
36 | CONFIG_SCHED_SMT=y | 36 | CONFIG_SCHED_SMT=y |
37 | CONFIG_CMDLINE_BOOL=y | 37 | CONFIG_CMDLINE_BOOL=y |
38 | CONFIG_CMDLINE="" | 38 | CONFIG_CMDLINE="" |
39 | CONFIG_PM_RUNTIME=y | 39 | CONFIG_PM=y |
40 | CONFIG_PM_DEBUG=y | 40 | CONFIG_PM_DEBUG=y |
41 | # CONFIG_SECCOMP is not set | 41 | # CONFIG_SECCOMP is not set |
42 | # CONFIG_PCI is not set | 42 | # CONFIG_PCI is not set |
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index c6b6ee5f38b2..0f09f5285d5e 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -223,7 +223,7 @@ config CPU_SHX3 | |||
223 | config ARCH_SHMOBILE | 223 | config ARCH_SHMOBILE |
224 | bool | 224 | bool |
225 | select ARCH_SUSPEND_POSSIBLE | 225 | select ARCH_SUSPEND_POSSIBLE |
226 | select PM_RUNTIME | 226 | select PM |
227 | 227 | ||
228 | config CPU_HAS_PMU | 228 | config CPU_HAS_PMU |
229 | depends on CPU_SH4 || CPU_SH4A | 229 | depends on CPU_SH4 || CPU_SH4A |
diff --git a/arch/sh/configs/apsh4ad0a_defconfig b/arch/sh/configs/apsh4ad0a_defconfig index ec70475da890..a8d975793b6d 100644 --- a/arch/sh/configs/apsh4ad0a_defconfig +++ b/arch/sh/configs/apsh4ad0a_defconfig | |||
@@ -47,7 +47,7 @@ CONFIG_PREEMPT=y | |||
47 | CONFIG_BINFMT_MISC=y | 47 | CONFIG_BINFMT_MISC=y |
48 | CONFIG_PM=y | 48 | CONFIG_PM=y |
49 | CONFIG_PM_DEBUG=y | 49 | CONFIG_PM_DEBUG=y |
50 | CONFIG_PM_RUNTIME=y | 50 | CONFIG_PM=y |
51 | CONFIG_CPU_IDLE=y | 51 | CONFIG_CPU_IDLE=y |
52 | CONFIG_NET=y | 52 | CONFIG_NET=y |
53 | CONFIG_PACKET=y | 53 | CONFIG_PACKET=y |
diff --git a/arch/sh/configs/sdk7786_defconfig b/arch/sh/configs/sdk7786_defconfig index 76a76a295d74..e7e56a4131b4 100644 --- a/arch/sh/configs/sdk7786_defconfig +++ b/arch/sh/configs/sdk7786_defconfig | |||
@@ -82,7 +82,7 @@ CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y | |||
82 | CONFIG_BINFMT_MISC=y | 82 | CONFIG_BINFMT_MISC=y |
83 | CONFIG_PM=y | 83 | CONFIG_PM=y |
84 | CONFIG_PM_DEBUG=y | 84 | CONFIG_PM_DEBUG=y |
85 | CONFIG_PM_RUNTIME=y | 85 | CONFIG_PM=y |
86 | CONFIG_CPU_IDLE=y | 86 | CONFIG_CPU_IDLE=y |
87 | CONFIG_NET=y | 87 | CONFIG_NET=y |
88 | CONFIG_PACKET=y | 88 | CONFIG_PACKET=y |
diff --git a/drivers/usb/host/isp1760-hcd.c b/drivers/usb/host/isp1760-hcd.c index e752c3098f38..395649f357aa 100644 --- a/drivers/usb/host/isp1760-hcd.c +++ b/drivers/usb/host/isp1760-hcd.c | |||
@@ -1739,7 +1739,7 @@ static int isp1760_hub_status_data(struct usb_hcd *hcd, char *buf) | |||
1739 | int retval = 1; | 1739 | int retval = 1; |
1740 | unsigned long flags; | 1740 | unsigned long flags; |
1741 | 1741 | ||
1742 | /* if !PM_RUNTIME, root hub timers won't get shut down ... */ | 1742 | /* if !PM, root hub timers won't get shut down ... */ |
1743 | if (!HC_IS_RUNNING(hcd->state)) | 1743 | if (!HC_IS_RUNNING(hcd->state)) |
1744 | return 0; | 1744 | return 0; |
1745 | 1745 | ||
diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c index 75811dd5a9d7..036924e640f5 100644 --- a/drivers/usb/host/oxu210hp-hcd.c +++ b/drivers/usb/host/oxu210hp-hcd.c | |||
@@ -3087,7 +3087,7 @@ static int oxu_hub_status_data(struct usb_hcd *hcd, char *buf) | |||
3087 | int ports, i, retval = 1; | 3087 | int ports, i, retval = 1; |
3088 | unsigned long flags; | 3088 | unsigned long flags; |
3089 | 3089 | ||
3090 | /* if !PM_RUNTIME, root hub timers won't get shut down ... */ | 3090 | /* if !PM, root hub timers won't get shut down ... */ |
3091 | if (!HC_IS_RUNNING(hcd->state)) | 3091 | if (!HC_IS_RUNNING(hcd->state)) |
3092 | return 0; | 3092 | return 0; |
3093 | 3093 | ||
diff --git a/include/linux/devfreq.h b/include/linux/devfreq.h index f1863dcd83ea..ce447f0f1bad 100644 --- a/include/linux/devfreq.h +++ b/include/linux/devfreq.h | |||
@@ -188,7 +188,7 @@ extern struct devfreq *devm_devfreq_add_device(struct device *dev, | |||
188 | extern void devm_devfreq_remove_device(struct device *dev, | 188 | extern void devm_devfreq_remove_device(struct device *dev, |
189 | struct devfreq *devfreq); | 189 | struct devfreq *devfreq); |
190 | 190 | ||
191 | /* Supposed to be called by PM_SLEEP/PM_RUNTIME callbacks */ | 191 | /* Supposed to be called by PM callbacks */ |
192 | extern int devfreq_suspend_device(struct devfreq *devfreq); | 192 | extern int devfreq_suspend_device(struct devfreq *devfreq); |
193 | extern int devfreq_resume_device(struct devfreq *devfreq); | 193 | extern int devfreq_resume_device(struct devfreq *devfreq); |
194 | 194 | ||
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 6e7708c2c21f..48b28d387c7f 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig | |||
@@ -94,7 +94,7 @@ config PM_STD_PARTITION | |||
94 | config PM_SLEEP | 94 | config PM_SLEEP |
95 | def_bool y | 95 | def_bool y |
96 | depends on SUSPEND || HIBERNATE_CALLBACKS | 96 | depends on SUSPEND || HIBERNATE_CALLBACKS |
97 | select PM_RUNTIME | 97 | select PM |
98 | 98 | ||
99 | config PM_SLEEP_SMP | 99 | config PM_SLEEP_SMP |
100 | def_bool y | 100 | def_bool y |
@@ -130,23 +130,19 @@ config PM_WAKELOCKS_GC | |||
130 | depends on PM_WAKELOCKS | 130 | depends on PM_WAKELOCKS |
131 | default y | 131 | default y |
132 | 132 | ||
133 | config PM_RUNTIME | 133 | config PM |
134 | bool "Run-time PM core functionality" | 134 | bool "Device power management core functionality" |
135 | ---help--- | 135 | ---help--- |
136 | Enable functionality allowing I/O devices to be put into energy-saving | 136 | Enable functionality allowing I/O devices to be put into energy-saving |
137 | (low power) states at run time (or autosuspended) after a specified | 137 | (low power) states, for example after a specified period of inactivity |
138 | period of inactivity and woken up in response to a hardware-generated | 138 | (autosuspended), and woken up in response to a hardware-generated |
139 | wake-up event or a driver's request. | 139 | wake-up event or a driver's request. |
140 | 140 | ||
141 | Hardware support is generally required for this functionality to work | 141 | Hardware support is generally required for this functionality to work |
142 | and the bus type drivers of the buses the devices are on are | 142 | and the bus type drivers of the buses the devices are on are |
143 | responsible for the actual handling of the autosuspend requests and | 143 | responsible for the actual handling of device suspend requests and |
144 | wake-up events. | 144 | wake-up events. |
145 | 145 | ||
146 | config PM | ||
147 | def_bool y | ||
148 | depends on PM_SLEEP || PM_RUNTIME | ||
149 | |||
150 | config PM_DEBUG | 146 | config PM_DEBUG |
151 | bool "Power Management Debug Support" | 147 | bool "Power Management Debug Support" |
152 | depends on PM | 148 | depends on PM |