aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2022-07-19 16:13:25 -0500
committerBjorn Helgaas <[email protected]>2022-07-27 11:56:17 -0500
commit19b7858c3357df038d896c10e0d5e4572a77dd25 (patch)
tree916cccbe1644bd8e8b245b45574a9d9c0dd1a14a /scripts/gdb/vmlinux-gdb.py
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
PCI: Convert to new *_PM_OPS macros
Replace SET_*_PM_OPS with *_PM_OPS, which which have the advantage that the compiler always sees the PM callbacks as referenced, so they don't need to be wrapped with "#ifdef CONFIG_PM_SLEEP" or tagged with "__maybe_unused" to avoid "defined but not used" warnings. See 1a3c7bb08826 ("PM: core: Add new *_PM_OPS macros, deprecate old ones"). Link: https://lore.kernel.org/r/[email protected] Tested-by: Arnd Bergmann <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Pali Rohár <[email protected]> # pci-mvebu.c Reviewed-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions