ACPI: dock: unsuppress uevents

Platform devices may not send uevents by default - override the setting
so that we can send uevents on dock/undock.

Signed-off-by:  Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Kristen Carlson Accardi 2007-05-09 15:09:12 -07:00 committed by Len Brown
parent a0cd35fdca
commit 9ef2a9a9f0

View File

@ -751,6 +751,9 @@ static int dock_add(acpi_handle handle)
return PTR_ERR(dock_device);
}
/* we want the dock device to send uevents */
dock_device->dev.uevent_suppress = 0;
ret = device_create_file(&dock_device->dev, &dev_attr_docked);
if (ret) {
printk("Error %d adding sysfs file\n", ret);