Commit 035f10ee4e978db0a01d0f832e328b4a62f8310e
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
Merge branch 'pm-runtime'
* pm-runtime: power / PM: Eliminate CONFIG_PM_RUNTIME NFC / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM SCSI / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM tracing / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM x86 / PM: Replace CONFIG_PM_RUNTIME in io_apic.c PM: Remove the SET_PM_RUNTIME_PM_OPS() macro mmc: atmel-mci: use SET_RUNTIME_PM_OPS() macro PM / Kconfig: Replace PM_RUNTIME with PM in dependencies ARM / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM sound / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM phy / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM video / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM tty / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM spi: Replace CONFIG_PM_RUNTIME with CONFIG_PM
Showing 53 changed files Side-by-side Diff
- arch/arm/kernel/perf_event.c
- arch/arm/mach-davinci/pm_domain.c
- arch/arm/mach-exynos/Kconfig
- arch/arm/mach-keystone/pm_domain.c
- arch/arm/mach-omap1/pm_bus.c
- arch/arm/mach-omap2/io.c
- arch/arm/mach-omap2/omap_device.c
- arch/ia64/Kconfig
- arch/x86/kernel/apic/io_apic.c
- drivers/ata/Kconfig
- drivers/media/platform/Kconfig
- drivers/media/platform/s5p-tv/Kconfig
- drivers/mmc/host/atmel-mci.c
- drivers/nfc/trf7970a.c
- drivers/phy/phy-omap-usb2.c
- drivers/phy/phy-ti-pipe3.c
- drivers/power/pm2301_charger.c
- drivers/scsi/scsi_pm.c
- drivers/scsi/scsi_priv.h
- drivers/scsi/ufs/ufshcd-pci.c
- drivers/scsi/ufs/ufshcd-pltfrm.c
- drivers/spi/spi-coldfire-qspi.c
- drivers/spi/spi-orion.c
- drivers/spi/spi-pxa2xx.c
- drivers/spi/spi-qup.c
- drivers/spi/spi-rockchip.c
- drivers/spi/spi-s3c64xx.c
- drivers/staging/gdm72xx/Kconfig
- drivers/tty/serial/8250/8250_dw.c
- drivers/tty/serial/8250/8250_mtk.c
- drivers/tty/serial/mfd.c
- drivers/tty/serial/msm_serial_hs.c
- drivers/tty/serial/omap-serial.c
- drivers/usb/core/Kconfig
- drivers/usb/phy/Kconfig
- drivers/usb/storage/Kconfig
- drivers/video/fbdev/s3c-fb.c
- drivers/video/fbdev/sh_mobile_meram.c
- include/linux/pm.h
- include/scsi/scsi_device.h
- kernel/trace/Makefile
- sound/pci/hda/hda_controller.c
- sound/pci/hda/hda_intel.c
- sound/soc/codecs/cs35l32.c
- sound/soc/codecs/cs42xx8.c
- sound/soc/codecs/max98090.c
- sound/soc/codecs/pcm512x.c
- sound/soc/codecs/tas2552.c
- sound/soc/codecs/wm2200.c
- sound/soc/codecs/wm5100.c
- sound/soc/codecs/wm8962.c
- sound/soc/fsl/fsl_asrc.c
- sound/soc/samsung/i2s.c
arch/arm/kernel/perf_event.c
arch/arm/mach-davinci/pm_domain.c
arch/arm/mach-exynos/Kconfig
arch/arm/mach-keystone/pm_domain.c
arch/arm/mach-omap1/pm_bus.c
... | ... | @@ -21,7 +21,7 @@ |
21 | 21 | |
22 | 22 | #include "soc.h" |
23 | 23 | |
24 | -#ifdef CONFIG_PM_RUNTIME | |
24 | +#ifdef CONFIG_PM | |
25 | 25 | static int omap1_pm_runtime_suspend(struct device *dev) |
26 | 26 | { |
27 | 27 | int ret; |
... | ... | @@ -59,7 +59,7 @@ |
59 | 59 | #define OMAP1_PM_DOMAIN (&default_pm_domain) |
60 | 60 | #else |
61 | 61 | #define OMAP1_PM_DOMAIN NULL |
62 | -#endif /* CONFIG_PM_RUNTIME */ | |
62 | +#endif /* CONFIG_PM */ | |
63 | 63 | |
64 | 64 | static struct pm_clk_notifier_block platform_bus_notifier = { |
65 | 65 | .pm_domain = OMAP1_PM_DOMAIN, |
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/omap_device.c
arch/ia64/Kconfig
arch/x86/kernel/apic/io_apic.c
drivers/ata/Kconfig
drivers/media/platform/Kconfig
... | ... | @@ -112,7 +112,7 @@ |
112 | 112 | config VIDEO_S3C_CAMIF |
113 | 113 | tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver" |
114 | 114 | depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API |
115 | - depends on PM_RUNTIME | |
115 | + depends on PM | |
116 | 116 | depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST |
117 | 117 | depends on HAS_DMA |
118 | 118 | select VIDEOBUF2_DMA_CONTIG |
drivers/media/platform/s5p-tv/Kconfig
drivers/mmc/host/atmel-mci.c
... | ... | @@ -2561,7 +2561,7 @@ |
2561 | 2561 | static const struct dev_pm_ops atmci_dev_pm_ops = { |
2562 | 2562 | SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, |
2563 | 2563 | pm_runtime_force_resume) |
2564 | - SET_PM_RUNTIME_PM_OPS(atmci_runtime_suspend, atmci_runtime_resume, NULL) | |
2564 | + SET_RUNTIME_PM_OPS(atmci_runtime_suspend, atmci_runtime_resume, NULL) | |
2565 | 2565 | }; |
2566 | 2566 | |
2567 | 2567 | static struct platform_driver atmci_driver = { |
drivers/nfc/trf7970a.c
drivers/phy/phy-omap-usb2.c
drivers/phy/phy-ti-pipe3.c
drivers/power/pm2301_charger.c
... | ... | @@ -951,8 +951,6 @@ |
951 | 951 | |
952 | 952 | #endif |
953 | 953 | |
954 | -#ifdef CONFIG_PM_RUNTIME | |
955 | - | |
956 | 954 | static int pm2xxx_runtime_suspend(struct device *dev) |
957 | 955 | { |
958 | 956 | struct i2c_client *pm2xxx_i2c_client = to_i2c_client(dev); |
... | ... | @@ -976,8 +974,6 @@ |
976 | 974 | |
977 | 975 | return 0; |
978 | 976 | } |
979 | - | |
980 | -#endif | |
981 | 977 | |
982 | 978 | static const struct dev_pm_ops pm2xxx_pm_ops = { |
983 | 979 | SET_SYSTEM_SLEEP_PM_OPS(pm2xxx_wall_charger_suspend, |
drivers/scsi/scsi_pm.c
... | ... | @@ -213,8 +213,6 @@ |
213 | 213 | |
214 | 214 | #endif /* CONFIG_PM_SLEEP */ |
215 | 215 | |
216 | -#ifdef CONFIG_PM_RUNTIME | |
217 | - | |
218 | 216 | static int sdev_runtime_suspend(struct device *dev) |
219 | 217 | { |
220 | 218 | const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; |
... | ... | @@ -331,14 +329,6 @@ |
331 | 329 | { |
332 | 330 | pm_runtime_put_sync(&shost->shost_gendev); |
333 | 331 | } |
334 | - | |
335 | -#else | |
336 | - | |
337 | -#define scsi_runtime_suspend NULL | |
338 | -#define scsi_runtime_resume NULL | |
339 | -#define scsi_runtime_idle NULL | |
340 | - | |
341 | -#endif /* CONFIG_PM_RUNTIME */ | |
342 | 332 | |
343 | 333 | const struct dev_pm_ops scsi_bus_pm_ops = { |
344 | 334 | .prepare = scsi_bus_prepare, |
drivers/scsi/scsi_priv.h
... | ... | @@ -155,8 +155,7 @@ |
155 | 155 | /* scsi_pm.c */ |
156 | 156 | #ifdef CONFIG_PM |
157 | 157 | extern const struct dev_pm_ops scsi_bus_pm_ops; |
158 | -#endif | |
159 | -#ifdef CONFIG_PM_RUNTIME | |
158 | + | |
160 | 159 | extern void scsi_autopm_get_target(struct scsi_target *); |
161 | 160 | extern void scsi_autopm_put_target(struct scsi_target *); |
162 | 161 | extern int scsi_autopm_get_host(struct Scsi_Host *); |
... | ... | @@ -166,7 +165,7 @@ |
166 | 165 | static inline void scsi_autopm_put_target(struct scsi_target *t) {} |
167 | 166 | static inline int scsi_autopm_get_host(struct Scsi_Host *h) { return 0; } |
168 | 167 | static inline void scsi_autopm_put_host(struct Scsi_Host *h) {} |
169 | -#endif /* CONFIG_PM_RUNTIME */ | |
168 | +#endif /* CONFIG_PM */ | |
170 | 169 | |
171 | 170 | extern struct async_domain scsi_sd_pm_domain; |
172 | 171 | extern struct async_domain scsi_sd_probe_domain; |
drivers/scsi/ufs/ufshcd-pci.c
... | ... | @@ -62,12 +62,7 @@ |
62 | 62 | { |
63 | 63 | return ufshcd_system_resume(dev_get_drvdata(dev)); |
64 | 64 | } |
65 | -#else | |
66 | -#define ufshcd_pci_suspend NULL | |
67 | -#define ufshcd_pci_resume NULL | |
68 | -#endif /* CONFIG_PM */ | |
69 | 65 | |
70 | -#ifdef CONFIG_PM_RUNTIME | |
71 | 66 | static int ufshcd_pci_runtime_suspend(struct device *dev) |
72 | 67 | { |
73 | 68 | return ufshcd_runtime_suspend(dev_get_drvdata(dev)); |
74 | 69 | |
... | ... | @@ -80,11 +75,13 @@ |
80 | 75 | { |
81 | 76 | return ufshcd_runtime_idle(dev_get_drvdata(dev)); |
82 | 77 | } |
83 | -#else /* !CONFIG_PM_RUNTIME */ | |
78 | +#else /* !CONFIG_PM */ | |
79 | +#define ufshcd_pci_suspend NULL | |
80 | +#define ufshcd_pci_resume NULL | |
84 | 81 | #define ufshcd_pci_runtime_suspend NULL |
85 | 82 | #define ufshcd_pci_runtime_resume NULL |
86 | 83 | #define ufshcd_pci_runtime_idle NULL |
87 | -#endif /* CONFIG_PM_RUNTIME */ | |
84 | +#endif /* CONFIG_PM */ | |
88 | 85 | |
89 | 86 | /** |
90 | 87 | * ufshcd_pci_shutdown - main function to put the controller in reset state |
drivers/scsi/ufs/ufshcd-pltfrm.c
... | ... | @@ -261,12 +261,7 @@ |
261 | 261 | { |
262 | 262 | return ufshcd_system_resume(dev_get_drvdata(dev)); |
263 | 263 | } |
264 | -#else | |
265 | -#define ufshcd_pltfrm_suspend NULL | |
266 | -#define ufshcd_pltfrm_resume NULL | |
267 | -#endif | |
268 | 264 | |
269 | -#ifdef CONFIG_PM_RUNTIME | |
270 | 265 | static int ufshcd_pltfrm_runtime_suspend(struct device *dev) |
271 | 266 | { |
272 | 267 | return ufshcd_runtime_suspend(dev_get_drvdata(dev)); |
273 | 268 | |
... | ... | @@ -279,11 +274,13 @@ |
279 | 274 | { |
280 | 275 | return ufshcd_runtime_idle(dev_get_drvdata(dev)); |
281 | 276 | } |
282 | -#else /* !CONFIG_PM_RUNTIME */ | |
277 | +#else /* !CONFIG_PM */ | |
278 | +#define ufshcd_pltfrm_suspend NULL | |
279 | +#define ufshcd_pltfrm_resume NULL | |
283 | 280 | #define ufshcd_pltfrm_runtime_suspend NULL |
284 | 281 | #define ufshcd_pltfrm_runtime_resume NULL |
285 | 282 | #define ufshcd_pltfrm_runtime_idle NULL |
286 | -#endif /* CONFIG_PM_RUNTIME */ | |
283 | +#endif /* CONFIG_PM */ | |
287 | 284 | |
288 | 285 | static void ufshcd_pltfrm_shutdown(struct platform_device *pdev) |
289 | 286 | { |
drivers/spi/spi-coldfire-qspi.c
drivers/spi/spi-orion.c
drivers/spi/spi-pxa2xx.c
drivers/spi/spi-qup.c
... | ... | @@ -646,7 +646,7 @@ |
646 | 646 | return ret; |
647 | 647 | } |
648 | 648 | |
649 | -#ifdef CONFIG_PM_RUNTIME | |
649 | +#ifdef CONFIG_PM | |
650 | 650 | static int spi_qup_pm_suspend_runtime(struct device *device) |
651 | 651 | { |
652 | 652 | struct spi_master *master = dev_get_drvdata(device); |
... | ... | @@ -672,7 +672,7 @@ |
672 | 672 | writel_relaxed(config, controller->base + QUP_CONFIG); |
673 | 673 | return 0; |
674 | 674 | } |
675 | -#endif /* CONFIG_PM_RUNTIME */ | |
675 | +#endif /* CONFIG_PM */ | |
676 | 676 | |
677 | 677 | #ifdef CONFIG_PM_SLEEP |
678 | 678 | static int spi_qup_suspend(struct device *device) |
drivers/spi/spi-rockchip.c
... | ... | @@ -801,7 +801,7 @@ |
801 | 801 | } |
802 | 802 | #endif /* CONFIG_PM_SLEEP */ |
803 | 803 | |
804 | -#ifdef CONFIG_PM_RUNTIME | |
804 | +#ifdef CONFIG_PM | |
805 | 805 | static int rockchip_spi_runtime_suspend(struct device *dev) |
806 | 806 | { |
807 | 807 | struct spi_master *master = dev_get_drvdata(dev); |
... | ... | @@ -829,7 +829,7 @@ |
829 | 829 | |
830 | 830 | return ret; |
831 | 831 | } |
832 | -#endif /* CONFIG_PM_RUNTIME */ | |
832 | +#endif /* CONFIG_PM */ | |
833 | 833 | |
834 | 834 | static const struct dev_pm_ops rockchip_spi_pm = { |
835 | 835 | SET_SYSTEM_SLEEP_PM_OPS(rockchip_spi_suspend, rockchip_spi_resume) |
drivers/spi/spi-s3c64xx.c
... | ... | @@ -1266,7 +1266,7 @@ |
1266 | 1266 | } |
1267 | 1267 | #endif /* CONFIG_PM_SLEEP */ |
1268 | 1268 | |
1269 | -#ifdef CONFIG_PM_RUNTIME | |
1269 | +#ifdef CONFIG_PM | |
1270 | 1270 | static int s3c64xx_spi_runtime_suspend(struct device *dev) |
1271 | 1271 | { |
1272 | 1272 | struct spi_master *master = dev_get_drvdata(dev); |
... | ... | @@ -1296,7 +1296,7 @@ |
1296 | 1296 | |
1297 | 1297 | return 0; |
1298 | 1298 | } |
1299 | -#endif /* CONFIG_PM_RUNTIME */ | |
1299 | +#endif /* CONFIG_PM */ | |
1300 | 1300 | |
1301 | 1301 | static const struct dev_pm_ops s3c64xx_spi_pm = { |
1302 | 1302 | SET_SYSTEM_SLEEP_PM_OPS(s3c64xx_spi_suspend, s3c64xx_spi_resume) |
drivers/staging/gdm72xx/Kconfig
drivers/tty/serial/8250/8250_dw.c
drivers/tty/serial/8250/8250_mtk.c
drivers/tty/serial/mfd.c
... | ... | @@ -1252,12 +1252,7 @@ |
1252 | 1252 | } |
1253 | 1253 | return 0; |
1254 | 1254 | } |
1255 | -#else | |
1256 | -#define serial_hsu_suspend NULL | |
1257 | -#define serial_hsu_resume NULL | |
1258 | -#endif | |
1259 | 1255 | |
1260 | -#ifdef CONFIG_PM_RUNTIME | |
1261 | 1256 | static int serial_hsu_runtime_idle(struct device *dev) |
1262 | 1257 | { |
1263 | 1258 | pm_schedule_suspend(dev, 500); |
... | ... | @@ -1274,6 +1269,8 @@ |
1274 | 1269 | return 0; |
1275 | 1270 | } |
1276 | 1271 | #else |
1272 | +#define serial_hsu_suspend NULL | |
1273 | +#define serial_hsu_resume NULL | |
1277 | 1274 | #define serial_hsu_runtime_idle NULL |
1278 | 1275 | #define serial_hsu_runtime_suspend NULL |
1279 | 1276 | #define serial_hsu_runtime_resume NULL |
drivers/tty/serial/msm_serial_hs.c
drivers/tty/serial/omap-serial.c
drivers/usb/core/Kconfig
drivers/usb/phy/Kconfig
... | ... | @@ -20,7 +20,7 @@ |
20 | 20 | |
21 | 21 | config FSL_USB2_OTG |
22 | 22 | bool "Freescale USB OTG Transceiver Driver" |
23 | - depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM_RUNTIME | |
23 | + depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM | |
24 | 24 | select USB_OTG |
25 | 25 | select USB_PHY |
26 | 26 | help |
... | ... | @@ -153,7 +153,7 @@ |
153 | 153 | |
154 | 154 | config USB_MV_OTG |
155 | 155 | tristate "Marvell USB OTG support" |
156 | - depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME | |
156 | + depends on USB_EHCI_MV && USB_MV_UDC && PM | |
157 | 157 | select USB_OTG |
158 | 158 | select USB_PHY |
159 | 159 | help |
drivers/usb/storage/Kconfig
drivers/video/fbdev/s3c-fb.c
drivers/video/fbdev/sh_mobile_meram.c
... | ... | @@ -569,7 +569,7 @@ |
569 | 569 | * Power management |
570 | 570 | */ |
571 | 571 | |
572 | -#if defined(CONFIG_PM_SLEEP) || defined(CONFIG_PM_RUNTIME) | |
572 | +#ifdef CONFIG_PM | |
573 | 573 | static int sh_mobile_meram_suspend(struct device *dev) |
574 | 574 | { |
575 | 575 | struct platform_device *pdev = to_platform_device(dev); |
... | ... | @@ -612,7 +612,7 @@ |
612 | 612 | meram_write_reg(priv->base, common_regs[i], priv->regs[i]); |
613 | 613 | return 0; |
614 | 614 | } |
615 | -#endif /* CONFIG_PM_SLEEP || CONFIG_PM_RUNTIME */ | |
615 | +#endif /* CONFIG_PM */ | |
616 | 616 | |
617 | 617 | static UNIVERSAL_DEV_PM_OPS(sh_mobile_meram_dev_pm_ops, |
618 | 618 | sh_mobile_meram_suspend, |
include/linux/pm.h
... | ... | @@ -351,8 +351,6 @@ |
351 | 351 | #define SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) |
352 | 352 | #endif |
353 | 353 | |
354 | -#define SET_PM_RUNTIME_PM_OPS SET_RUNTIME_PM_OPS | |
355 | - | |
356 | 354 | /* |
357 | 355 | * Use this if you want to use the same suspend and resume callbacks for suspend |
358 | 356 | * to RAM and hibernation. |
include/scsi/scsi_device.h
... | ... | @@ -441,13 +441,13 @@ |
441 | 441 | extern void sdev_disable_disk_events(struct scsi_device *sdev); |
442 | 442 | extern void sdev_enable_disk_events(struct scsi_device *sdev); |
443 | 443 | |
444 | -#ifdef CONFIG_PM_RUNTIME | |
444 | +#ifdef CONFIG_PM | |
445 | 445 | extern int scsi_autopm_get_device(struct scsi_device *); |
446 | 446 | extern void scsi_autopm_put_device(struct scsi_device *); |
447 | 447 | #else |
448 | 448 | static inline int scsi_autopm_get_device(struct scsi_device *d) { return 0; } |
449 | 449 | static inline void scsi_autopm_put_device(struct scsi_device *d) {} |
450 | -#endif /* CONFIG_PM_RUNTIME */ | |
450 | +#endif /* CONFIG_PM */ | |
451 | 451 | |
452 | 452 | static inline int __must_check scsi_device_reprobe(struct scsi_device *sdev) |
453 | 453 | { |
kernel/trace/Makefile
... | ... | @@ -55,7 +55,7 @@ |
55 | 55 | obj-$(CONFIG_EVENT_TRACING) += trace_events_trigger.o |
56 | 56 | obj-$(CONFIG_KPROBE_EVENT) += trace_kprobe.o |
57 | 57 | obj-$(CONFIG_TRACEPOINTS) += power-traces.o |
58 | -ifeq ($(CONFIG_PM_RUNTIME),y) | |
58 | +ifeq ($(CONFIG_PM),y) | |
59 | 59 | obj-$(CONFIG_TRACEPOINTS) += rpm-traces.o |
60 | 60 | endif |
61 | 61 | ifeq ($(CONFIG_TRACING),y) |
sound/pci/hda/hda_controller.c
sound/pci/hda/hda_intel.c
... | ... | @@ -857,7 +857,7 @@ |
857 | 857 | } |
858 | 858 | #endif /* CONFIG_PM_SLEEP || SUPPORT_VGA_SWITCHEROO */ |
859 | 859 | |
860 | -#ifdef CONFIG_PM_RUNTIME | |
860 | +#ifdef CONFIG_PM | |
861 | 861 | static int azx_runtime_suspend(struct device *dev) |
862 | 862 | { |
863 | 863 | struct snd_card *card = dev_get_drvdata(dev); |
... | ... | @@ -955,9 +955,6 @@ |
955 | 955 | return 0; |
956 | 956 | } |
957 | 957 | |
958 | -#endif /* CONFIG_PM_RUNTIME */ | |
959 | - | |
960 | -#ifdef CONFIG_PM | |
961 | 958 | static const struct dev_pm_ops azx_pm = { |
962 | 959 | SET_SYSTEM_SLEEP_PM_OPS(azx_suspend, azx_resume) |
963 | 960 | SET_RUNTIME_PM_OPS(azx_runtime_suspend, azx_runtime_resume, azx_runtime_idle) |
sound/soc/codecs/cs35l32.c
sound/soc/codecs/cs42xx8.c
sound/soc/codecs/max98090.c
sound/soc/codecs/pcm512x.c
sound/soc/codecs/tas2552.c
... | ... | @@ -115,7 +115,7 @@ |
115 | 115 | {"ClassD", NULL, "PLL"}, |
116 | 116 | }; |
117 | 117 | |
118 | -#ifdef CONFIG_PM_RUNTIME | |
118 | +#ifdef CONFIG_PM | |
119 | 119 | static void tas2552_sw_shutdown(struct tas2552_data *tas_data, int sw_shutdown) |
120 | 120 | { |
121 | 121 | u8 cfg1_reg; |
... | ... | @@ -264,7 +264,7 @@ |
264 | 264 | return 0; |
265 | 265 | } |
266 | 266 | |
267 | -#ifdef CONFIG_PM_RUNTIME | |
267 | +#ifdef CONFIG_PM | |
268 | 268 | static int tas2552_runtime_suspend(struct device *dev) |
269 | 269 | { |
270 | 270 | struct tas2552_data *tas2552 = dev_get_drvdata(dev); |
sound/soc/codecs/wm2200.c
sound/soc/codecs/wm5100.c
sound/soc/codecs/wm8962.c
sound/soc/fsl/fsl_asrc.c
... | ... | @@ -928,7 +928,7 @@ |
928 | 928 | return 0; |
929 | 929 | } |
930 | 930 | |
931 | -#ifdef CONFIG_PM_RUNTIME | |
931 | +#ifdef CONFIG_PM | |
932 | 932 | static int fsl_asrc_runtime_resume(struct device *dev) |
933 | 933 | { |
934 | 934 | struct fsl_asrc *asrc_priv = dev_get_drvdata(dev); |
... | ... | @@ -954,7 +954,7 @@ |
954 | 954 | |
955 | 955 | return 0; |
956 | 956 | } |
957 | -#endif /* CONFIG_PM_RUNTIME */ | |
957 | +#endif /* CONFIG_PM */ | |
958 | 958 | |
959 | 959 | #ifdef CONFIG_PM_SLEEP |
960 | 960 | static int fsl_asrc_suspend(struct device *dev) |
sound/soc/samsung/i2s.c
... | ... | @@ -1113,7 +1113,7 @@ |
1113 | 1113 | platform_get_device_id(pdev)->driver_data; |
1114 | 1114 | } |
1115 | 1115 | |
1116 | -#ifdef CONFIG_PM_RUNTIME | |
1116 | +#ifdef CONFIG_PM | |
1117 | 1117 | static int i2s_runtime_suspend(struct device *dev) |
1118 | 1118 | { |
1119 | 1119 | struct i2s_dai *i2s = dev_get_drvdata(dev); |
... | ... | @@ -1131,7 +1131,7 @@ |
1131 | 1131 | |
1132 | 1132 | return 0; |
1133 | 1133 | } |
1134 | -#endif /* CONFIG_PM_RUNTIME */ | |
1134 | +#endif /* CONFIG_PM */ | |
1135 | 1135 | |
1136 | 1136 | static int samsung_i2s_probe(struct platform_device *pdev) |
1137 | 1137 | { |