diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-01-07 09:40:05 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-07 09:40:05 -0500 |
commit | 123656d4cc8c946f578ebd18c2050f5251720428 (patch) | |
tree | 3d5432eff034a3b9cfdc98b37e245abe5695342d /drivers/acpi/container.c | |
parent | a62c80e559809e6c7851ec04d30575e85ad6f6ed (diff) | |
parent | 0aec63e67c69545ca757a73a66f5dcf05fa484bf (diff) |
Merge with Linus' kernel.
Diffstat (limited to 'drivers/acpi/container.c')
-rw-r--r-- | drivers/acpi/container.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/container.c b/drivers/acpi/container.c index 27ec12c1fab0..b69a8cad82b7 100644 --- a/drivers/acpi/container.c +++ b/drivers/acpi/container.c | |||
@@ -172,21 +172,21 @@ static void container_notify_cb(acpi_handle handle, u32 type, void *context) | |||
172 | if (ACPI_FAILURE(status) || !device) { | 172 | if (ACPI_FAILURE(status) || !device) { |
173 | result = container_device_add(&device, handle); | 173 | result = container_device_add(&device, handle); |
174 | if (!result) | 174 | if (!result) |
175 | kobject_hotplug(&device->kobj, | 175 | kobject_uevent(&device->kobj, |
176 | KOBJ_ONLINE); | 176 | KOBJ_ONLINE); |
177 | else | 177 | else |
178 | printk("Failed to add container\n"); | 178 | printk("Failed to add container\n"); |
179 | } | 179 | } |
180 | } else { | 180 | } else { |
181 | if (ACPI_SUCCESS(status)) { | 181 | if (ACPI_SUCCESS(status)) { |
182 | /* device exist and this is a remove request */ | 182 | /* device exist and this is a remove request */ |
183 | kobject_hotplug(&device->kobj, KOBJ_OFFLINE); | 183 | kobject_uevent(&device->kobj, KOBJ_OFFLINE); |
184 | } | 184 | } |
185 | } | 185 | } |
186 | break; | 186 | break; |
187 | case ACPI_NOTIFY_EJECT_REQUEST: | 187 | case ACPI_NOTIFY_EJECT_REQUEST: |
188 | if (!acpi_bus_get_device(handle, &device) && device) { | 188 | if (!acpi_bus_get_device(handle, &device) && device) { |
189 | kobject_hotplug(&device->kobj, KOBJ_OFFLINE); | 189 | kobject_uevent(&device->kobj, KOBJ_OFFLINE); |
190 | } | 190 | } |
191 | break; | 191 | break; |
192 | default: | 192 | default: |