From patchwork Sat Mar 13 18:13:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Myron Stowe X-Patchwork-Id: 85759 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2DIEesP027817 for ; Sat, 13 Mar 2010 18:15:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932965Ab0CMSOT (ORCPT ); Sat, 13 Mar 2010 13:14:19 -0500 Received: from g1t0028.austin.hp.com ([15.216.28.35]:43763 "EHLO g1t0028.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934366Ab0CMSNs (ORCPT ); Sat, 13 Mar 2010 13:13:48 -0500 Received: from g1t0038.austin.hp.com (g1t0038.austin.hp.com [16.236.32.44]) by g1t0028.austin.hp.com (Postfix) with ESMTP id EBFAC1C40B; Sat, 13 Mar 2010 18:13:47 +0000 (UTC) Received: from ldl (ldl.fc.hp.com [15.11.146.30]) by g1t0038.austin.hp.com (Postfix) with ESMTP id BEC55304C5; Sat, 13 Mar 2010 18:13:47 +0000 (UTC) Received: from localhost (ldl.fc.hp.com [127.0.0.1]) by ldl (Postfix) with ESMTP id A93B1CF0011; Sat, 13 Mar 2010 11:13:47 -0700 (MST) Received: from ldl ([127.0.0.1]) by localhost (ldl.fc.hp.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1qrylqPVfIoJ; Sat, 13 Mar 2010 11:13:47 -0700 (MST) Received: from eh.fc.hp.com (eh.fc.hp.com [15.11.146.105]) by ldl (Postfix) with ESMTP id 92E9CCF000F; Sat, 13 Mar 2010 11:13:47 -0700 (MST) Received: from bob.kio (localhost [127.0.0.1]) by eh.fc.hp.com (Postfix) with ESMTP id 70F77261FA; Sat, 13 Mar 2010 11:13:47 -0700 (MST) Subject: [PATCH v2 2/3] ipmi: Convert tracking of the ACPI device pointer to a PNP device To: minyard@acm.org From: Myron Stowe Cc: Zhao Yakui , linux-acpi@vger.kernel.org, openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org, lenb@kernel.org Date: Sat, 13 Mar 2010 11:13:47 -0700 Message-ID: <20100313181347.20614.7897.stgit@bob.kio> In-Reply-To: <20100313180121.20614.92547.stgit@bob.kio> References: <20100313180121.20614.92547.stgit@bob.kio> User-Agent: StGit/0.15 MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 13 Mar 2010 18:15:00 +0000 (UTC) diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 86a7dd7..0e31aa9 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c @@ -2093,7 +2093,7 @@ static int __devinit ipmi_pnp_probe(struct pnp_dev *dev, info->irq_setup = std_irq_setup; } - info->dev = &acpi_dev->dev; + info->dev = &dev->dev; pnp_set_drvdata(dev, info); return try_smi_init(info);