* negative value is returned by the callback then the loop is broken and that
* value is returned as the final error.
*/
-int acpi_walk_dep_device_list(acpi_handle handle,
- int (*callback)(struct acpi_dep_data *, void *),
- void *data)
+static int acpi_walk_dep_device_list(acpi_handle handle,
+ int (*callback)(struct acpi_dep_data *, void *),
+ void *data)
{
struct acpi_dep_data *dep, *tmp;
int ret = 0;
return ret > 0 ? 0 : ret;
}
-EXPORT_SYMBOL_GPL(acpi_walk_dep_device_list);
/**
* acpi_dev_clear_dependencies - Inform consumers that the device is now active
const struct device_driver *drv);
int acpi_device_uevent_modalias(struct device *, struct kobj_uevent_env *);
int acpi_device_modalias(struct device *, char *, int);
-int acpi_walk_dep_device_list(acpi_handle handle,
- int (*callback)(struct acpi_dep_data *, void *),
- void *data);
struct platform_device *acpi_create_platform_device(struct acpi_device *,
struct property_entry *);