From patchwork Thu Dec 3 11:41:23 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: 64492 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 nB3BfbrU005294 for ; Thu, 3 Dec 2009 11:41:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754000AbZLCLlc (ORCPT ); Thu, 3 Dec 2009 06:41:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754635AbZLCLlc (ORCPT ); Thu, 3 Dec 2009 06:41:32 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:34937 "EHLO out1.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754000AbZLCLla (ORCPT ); Thu, 3 Dec 2009 06:41:30 -0500 Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id B69FBC58FE; Thu, 3 Dec 2009 06:41:36 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 03 Dec 2009 06:41:36 -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=JU2aKW/4q2RNp5xywprYNxLa3Qc=; b=IG0lym0KOCnW5xwzl98BFSf0ObgOdVaQFhYK+Py6FlNzosySNuBrL7I0iqSI+GYdMDBGR2ptPyIcvJFd4Y7nk0Jp/ov+Ld24x18+sIr+41eNwzn+jvSvxRK/DZWYB+xdtIe/EYFxVpGVYN3WrRJ/oKYSzF/tzfoSfjZsPX0Ya60= X-Sasl-enc: Cyn8QG6IlkrGfOj1SNanEVgikOJPUI+WEfTwhsP4zYNP 1259840496 Received: from khazad-dum.debian.net (unknown [201.82.165.62]) by mail.messagingengine.com (Postfix) with ESMTPSA id 618364A3B24; Thu, 3 Dec 2009 06:41:36 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by localhost.khazad-dum.debian.net (Postfix) with ESMTP id 5138110011; Thu, 3 Dec 2009 09:41:34 -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 gq0ZqyF+J0qc; Thu, 3 Dec 2009 09:41:33 -0200 (BRST) Received: by khazad-dum.debian.net (Postfix, from userid 1000) id 584B510012; Thu, 3 Dec 2009 09:41:32 -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 6/8] thinkpad-acpi: adopt input device Date: Thu, 3 Dec 2009 09:41:23 -0200 Message-Id: <1259840485-2516-7-git-send-email-hmh@hmh.eng.br> X-Mailer: git-send-email 1.6.5.2 In-Reply-To: <1259840485-2516-1-git-send-email-hmh@hmh.eng.br> References: <1259840485-2516-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]);