ACPI: don't pass handle for fixed hardware notifications
[sfrench/cifs-2.6.git] / drivers / acpi / scan.c
index 7b90900b2118ccb2f85387e3640d471f4feca7b7..408ebde18986d95d47ac6dbbe33e23d1fb58e349 100644 (file)
@@ -370,7 +370,8 @@ static acpi_status acpi_device_notify_fixed(void *data)
 {
        struct acpi_device *device = data;
 
-       acpi_device_notify(device->handle, ACPI_FIXED_HARDWARE_EVENT, device);
+       /* Fixed hardware devices have no handles */
+       acpi_device_notify(NULL, ACPI_FIXED_HARDWARE_EVENT, device);
        return AE_OK;
 }