projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0cd35f
)
ACPI: dock: unsuppress uevents
author
Kristen Carlson Accardi
<kristen.c.accardi@intel.com>
Wed, 9 May 2007 22:09:12 +0000
(15:09 -0700)
committer
Len Brown
<len.brown@intel.com>
Thu, 10 May 2007 07:30:41 +0000
(
03:30
-0400)
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>
drivers/acpi/dock.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/dock.c
b/drivers/acpi/dock.c
index 98ec717b14cf7e1deb84f6645bf82a2561cc80d2..4efc12cf617333201ac9973ab9c5462c6ee024af 100644
(file)
--- a/
drivers/acpi/dock.c
+++ b/
drivers/acpi/dock.c
@@
-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);