OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c53f6b
)
PCI: acpiphp: Remove unused acpiphp_callback typedef
author
Chen Lin
<chen.lin5@zte.com.cn>
Tue, 16 Feb 2021 02:38:40 +0000
(10:38 +0800)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 18 Feb 2021 23:32:37 +0000
(17:32 -0600)
Remove the 'acpiphp_callback' typedef as it is not used.
Link:
https://lore.kernel.org/r/1613443120-4279-1-git-send-email-chen45464546@163.com
Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krzysztof WilczyĆski <kw@linux.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/hotplug/acpiphp.h
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/acpiphp.h
b/drivers/pci/hotplug/acpiphp.h
index
a2094c0
..
a74b274
100644
(file)
--- 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);