2c9ae45354
On s390 allyesconfig, there is this build error rtsx_pcr.c:1084:13: error: 'rtsx_pm_power_saving' defined but not used 1084 | static void rtsx_pm_power_saving(struct rtsx_pcr *pcr) | ^~~~~~~~~~~~~~~~~~~~ rtsx_pm_power_saving() is only used by rtsx_pci_runtime_idle() which is conditional on CONFIG_PM. So conditionally build rtsx_pm_power_saving() and the similar rtsx_comm_pm_power_saving() and rtsx_enable_aspm(). Signed-off-by: Tom Rix <trix@redhat.com> Link: https://lore.kernel.org/r/20220213171907.2786442-1-trix@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
alcor_pci.c | ||
Kconfig | ||
Makefile | ||
rtl8411.c | ||
rts5209.c | ||
rts5227.c | ||
rts5228.c | ||
rts5228.h | ||
rts5229.c | ||
rts5249.c | ||
rts5260.c | ||
rts5260.h | ||
rts5261.c | ||
rts5261.h | ||
rtsx_pcr.c | ||
rtsx_pcr.h | ||
rtsx_usb.c |