aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Lin <[email protected]>2021-02-16 10:38:40 +0800
committerBjorn Helgaas <[email protected]>2021-02-18 17:32:37 -0600
commitfc235fcb0f7c1865ccb2d1f50267eef299a4f3fb (patch)
tree131d6d2c22ec3f44db4ad9c2aa231af8c8b98606
parent7c53f6b671f4aba70ff15e1b05148b10d58c2837 (diff)
PCI: acpiphp: Remove unused acpiphp_callback typedef
Remove the 'acpiphp_callback' typedef as it is not used. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Chen Lin <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Krzysztof WilczyƄski <[email protected]> Reviewed-by: Rafael J. Wysocki <[email protected]>
-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);