summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2021-02-24 23:59:18 +0300
committerBjorn Helgaas <bhelgaas@google.com>2021-02-24 23:59:18 +0300
commit35b7c87c18082c01e0179ba2fde10b6494f0acb5 (patch)
tree57675f621e082865674e2cfd6160c41eb2903063 /drivers
parentc3900329b53f7a1df38ccc9cb8c8969138114d30 (diff)
parentfc235fcb0f7c1865ccb2d1f50267eef299a4f3fb (diff)
downloadlinux-35b7c87c18082c01e0179ba2fde10b6494f0acb5.tar.xz
Merge branch 'pci/hotplug'
- Remove unused acpiphp_callback typedef (Chen Lin) * pci/hotplug: PCI: acpiphp: Remove unused acpiphp_callback typedef
Diffstat (limited to 'drivers')
-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);