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:
2f44bbb
)
ACPI: button: make real parent for input devices in device tree
author
Andrey Borzenkov
<arvidjaar@mail.ru>
Tue, 4 Mar 2008 23:06:35 +0000
(15:06 -0800)
committer
Len Brown
<len.brown@intel.com>
Tue, 11 Mar 2008 17:38:49 +0000
(13:38 -0400)
Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/button.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/button.c
b/drivers/acpi/button.c
index 24a7865a57cb2515c740fbee5d9b038ca3927630..6c5da83cdb6807be36db10253bd42c2c332c0402 100644
(file)
--- a/
drivers/acpi/button.c
+++ b/
drivers/acpi/button.c
@@
-449,6
+449,7
@@
static int acpi_button_add(struct acpi_device *device)
input->phys = button->phys;
input->id.bustype = BUS_HOST;
input->id.product = button->type;
+ input->dev.parent = &device->dev;
switch (button->type) {
case ACPI_BUTTON_TYPE_POWER: