/* Returns 1 if the PCI bus has ACPI based ejectable slots, 0 otherwise.  */
int acpi_pci_detect_ejectable(acpi_handle handle)
/* Returns 1 if the PCI bus has ACPI based ejectable slots, 0 otherwise.  */
int acpi_pci_detect_ejectable(acpi_handle handle)
{
	int found = 0;
	if (!handle)
		return found;
	acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
			    check_hotplug, NULL, (void *)&found, NULL);
	return found;
}