]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
PCI: Drop the assert_perst() callback
authorManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Thu, 15 Jan 2026 07:29:06 +0000 (12:59 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 16 Jan 2026 19:23:38 +0000 (13:23 -0600)
Now since all .assert_callback() implementations have been removed from the
controller drivers, drop the .assert_callback callback from pci.h.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260115-pci-pwrctrl-rework-v5-14-9d26da3ce903@oss.qualcomm.com
include/linux/pci.h

index 864775651c6fae125972cdfb062fd4d684cf294c..3eb8fd975ad9fdec4ba188b2b2021ade2dd0ce02 100644 (file)
@@ -854,7 +854,6 @@ struct pci_ops {
        void __iomem *(*map_bus)(struct pci_bus *bus, unsigned int devfn, int where);
        int (*read)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val);
        int (*write)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val);
-       int (*assert_perst)(struct pci_bus *bus, bool assert);
 };
 
 /*