aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/dock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c
index 98ec717b14cf..4efc12cf6173 100644
--- a/drivers/acpi/dock.c
+++ b/drivers/acpi/dock.c
@@ -751,6 +751,9 @@ static int dock_add(acpi_handle handle)
751 return PTR_ERR(dock_device); 751 return PTR_ERR(dock_device);
752 } 752 }
753 753
754 /* we want the dock device to send uevents */
755 dock_device->dev.uevent_suppress = 0;
756
754 ret = device_create_file(&dock_device->dev, &dev_attr_docked); 757 ret = device_create_file(&dock_device->dev, &dev_attr_docked);
755 if (ret) { 758 if (ret) {
756 printk("Error %d adding sysfs file\n", ret); 759 printk("Error %d adding sysfs file\n", ret);