diff options
author | Tom Rix <trix@redhat.com> | 2023-04-29 00:43:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-01 09:38:47 +0300 |
commit | 4f163bf82b0244bf4d1e9a6b0f4cf4e90b42496e (patch) | |
tree | 47699cb210bed61c803da1a1dde4980b0995c14d /tools/perf/scripts/python/syscall-counts.py | |
parent | 281900a923d4c50df109b52a22ae3cdac150159b (diff) | |
download | linux-4f163bf82b0244bf4d1e9a6b0f4cf4e90b42496e.tar.xz |
net: atlantic: Define aq_pm_ops conditionally on CONFIG_PM
For s390, gcc with W=1 reports
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:458:32: error:
'aq_pm_ops' defined but not used [-Werror=unused-const-variable=]
458 | static const struct dev_pm_ops aq_pm_ops = {
| ^~~~~~~~~
The only use of aq_pm_ops is conditional on CONFIG_PM.
The definition of aq_pm_ops and its functions should also
be conditional on CONFIG_PM.
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions