===================================================================
@@ -146,6 +146,7 @@ struct acpi_scan_handler {
struct acpi_hotplug_context {
struct acpi_device *self;
int (*event)(struct acpi_device *, u32);
+ void (*fixup)(struct acpi_device *);
};
/*
@@ -368,10 +369,12 @@ static inline void acpi_set_device_statu
static inline void acpi_set_hp_context(struct acpi_device *adev,
struct acpi_hotplug_context *hp,
- int (*event)(struct acpi_device *, u32))
+ int (*event)(struct acpi_device *, u32),
+ void (*fixup)(struct acpi_device *))
{
hp->self = adev;
hp->event = event;
+ hp->fixup = fixup;
adev->hp = hp;
}
===================================================================
@@ -80,7 +80,7 @@ static struct acpiphp_context *acpiphp_i
return NULL;
context->refcount = 1;
- acpi_set_hp_context(adev, &context->hp, acpiphp_hotplug_event);
+ acpi_set_hp_context(adev, &context->hp, acpiphp_hotplug_event, NULL);
return context;
}