From patchwork Wed Dec 9 01:36:26 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Henrique de Moraes Holschuh X-Patchwork-Id: 65854 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB91aeGQ030776 for ; Wed, 9 Dec 2009 01:36:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967098AbZLIBgk (ORCPT ); Tue, 8 Dec 2009 20:36:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S967104AbZLIBgk (ORCPT ); Tue, 8 Dec 2009 20:36:40 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:58335 "EHLO out1.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967098AbZLIBgf (ORCPT ); Tue, 8 Dec 2009 20:36:35 -0500 Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id A3F34C5A64; Tue, 8 Dec 2009 20:36:41 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 08 Dec 2009 20:36:41 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:cc:subject:date:message-id:in-reply-to:references; s=smtpout; bh=FkCaaoVZd3xGChLzAOIXO4bL6Ek=; b=AuJOwF3q5tJoQG9hOYWTnYvnpWGEiRO4h3v/0o/+dZRTcHx0mXz+zbLqBWjsjlHa0PS7vmkyJ6TNR5vZc/n+h4n0iuD0M9a9bzUak/pjsNYnifJeFYI48yUOHIKeN2aWmeNMMywGVtvZ+Vr0eW7N7rUyBj7t50dfddPuJU/kHho= X-Sasl-enc: 3jEUGctPo+j4MXXQNiJhrSHFzkxB9pOo0VjTvyW3E5eO 1260322601 Received: from khazad-dum.debian.net (unknown [201.82.165.62]) by mail.messagingengine.com (Postfix) with ESMTPSA id 23F684A9251; Tue, 8 Dec 2009 20:36:41 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by localhost.khazad-dum.debian.net (Postfix) with ESMTP id 1864D10014; Tue, 8 Dec 2009 23:36:37 -0200 (BRST) X-Virus-Scanned: Debian amavisd-new at khazad-dum.debian.net Received: from khazad-dum.debian.net ([127.0.0.1]) by localhost (khazad-dum.debian.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id q5GHxct6l6QT; Tue, 8 Dec 2009 23:36:35 -0200 (BRST) Received: by khazad-dum.debian.net (Postfix, from userid 1000) id BF41610012; Tue, 8 Dec 2009 23:36:33 -0200 (BRST) From: Henrique de Moraes Holschuh To: Len Brown Cc: linux-acpi@vger.kernel.org, ibm-acpi-devel@lists.sourceforge.net, Henrique de Moraes Holschuh Subject: [PATCH 06/10] thinkpad-acpi: adopt input device Date: Tue, 8 Dec 2009 23:36:26 -0200 Message-Id: <1260322590-5571-7-git-send-email-hmh@hmh.eng.br> X-Mailer: git-send-email 1.6.5.2 In-Reply-To: <1260322590-5571-1-git-send-email-hmh@hmh.eng.br> References: <1260322590-5571-1-git-send-email-hmh@hmh.eng.br> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 86418cd..dd8bd07 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c @@ -8375,6 +8375,7 @@ static int __init thinkpad_acpi_module_init(void) PCI_VENDOR_ID_IBM; tpacpi_inputdev->id.product = TPACPI_HKEY_INPUT_PRODUCT; tpacpi_inputdev->id.version = TPACPI_HKEY_INPUT_VERSION; + tpacpi_inputdev->dev.parent = &tpacpi_pdev->dev; } for (i = 0; i < ARRAY_SIZE(ibms_init); i++) { ret = ibm_init(&ibms_init[i]);