mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
PM: Remove CONFIG_PM_OPS
After redefining CONFIG_PM to depend on (CONFIG_PM_SLEEP || CONFIG_PM_RUNTIME) the CONFIG_PM_OPS option is redundant and can be replaced with CONFIG_PM. Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
196ec24322
commit
aa33860158
12 changed files with 17 additions and 23 deletions
|
|
@ -165,7 +165,7 @@ scsi_mod-$(CONFIG_SCSI_NETLINK) += scsi_netlink.o
|
|||
scsi_mod-$(CONFIG_SYSCTL) += scsi_sysctl.o
|
||||
scsi_mod-$(CONFIG_SCSI_PROC_FS) += scsi_proc.o
|
||||
scsi_mod-y += scsi_trace.o
|
||||
scsi_mod-$(CONFIG_PM_OPS) += scsi_pm.o
|
||||
scsi_mod-$(CONFIG_PM) += scsi_pm.o
|
||||
|
||||
scsi_tgt-y += scsi_tgt_lib.o scsi_tgt_if.o
|
||||
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ static inline void scsi_netlink_exit(void) {}
|
|||
#endif
|
||||
|
||||
/* scsi_pm.c */
|
||||
#ifdef CONFIG_PM_OPS
|
||||
#ifdef CONFIG_PM
|
||||
extern const struct dev_pm_ops scsi_bus_pm_ops;
|
||||
#endif
|
||||
#ifdef CONFIG_PM_RUNTIME
|
||||
|
|
|
|||
|
|
@ -383,7 +383,7 @@ struct bus_type scsi_bus_type = {
|
|||
.name = "scsi",
|
||||
.match = scsi_bus_match,
|
||||
.uevent = scsi_bus_uevent,
|
||||
#ifdef CONFIG_PM_OPS
|
||||
#ifdef CONFIG_PM
|
||||
.pm = &scsi_bus_pm_ops,
|
||||
#endif
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue