[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200802282114.28680.arvidjaar@mail.ru>
Date: Thu, 28 Feb 2008 21:14:26 +0300
From: Andrey Borzenkov <arvidjaar@...l.ru>
To: linux-acpi@...r.kernel.org, linux-iinput@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] [repost] Make real parent for ACPI button input devices
From: Andrey Borzenkov <arvidjaar@...l.ru>
Make sure input device for ACPI button gets proper place
in device tree.
Signed-off-by: Andrey Borzenkov <arvidjaar@...l.ru>
---
drivers/acpi/button.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c
index 24a7865..6c5da83 100644
--- 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:
Download attachment "signature.asc " of type "application/pgp-signature" (198 bytes)
Powered by blists - more mailing lists