summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2021-02-24 21:59:18 +0100
committerBjorn Helgaas <bhelgaas@google.com>2021-02-24 21:59:18 +0100
commit35b7c87c18082c01e0179ba2fde10b6494f0acb5 (patch)
tree57675f621e082865674e2cfd6160c41eb2903063 /drivers/pci
parentMerge branch 'pci/error' (diff)
parentPCI: acpiphp: Remove unused acpiphp_callback typedef (diff)
downloadlinux-35b7c87c18082c01e0179ba2fde10b6494f0acb5.tar.xz
linux-35b7c87c18082c01e0179ba2fde10b6494f0acb5.zip
Merge branch 'pci/hotplug'
- Remove unused acpiphp_callback typedef (Chen Lin) * pci/hotplug: PCI: acpiphp: Remove unused acpiphp_callback typedef
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/hotplug/acpiphp.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/acpiphp.h b/drivers/pci/hotplug/acpiphp.h
index a2094c07af6a..a74b274a8c45 100644
--- a/drivers/pci/hotplug/acpiphp.h
+++ b/drivers/pci/hotplug/acpiphp.h
@@ -176,9 +176,6 @@ int acpiphp_unregister_attention(struct acpiphp_attention_info *info);
int acpiphp_register_hotplug_slot(struct acpiphp_slot *slot, unsigned int sun);
void acpiphp_unregister_hotplug_slot(struct acpiphp_slot *slot);
-/* acpiphp_glue.c */
-typedef int (*acpiphp_callback)(struct acpiphp_slot *slot, void *data);
-
int acpiphp_enable_slot(struct acpiphp_slot *slot);
int acpiphp_disable_slot(struct acpiphp_slot *slot);
u8 acpiphp_get_power_status(struct acpiphp_slot *slot);