From patchwork Thu Mar 4 03:44:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Myron Stowe X-Patchwork-Id: 83508 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 o243iE2J015794 for ; Thu, 4 Mar 2010 03:44:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754725Ab0CDDoW (ORCPT ); Wed, 3 Mar 2010 22:44:22 -0500 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:20162 "EHLO g5t0007.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754666Ab0CDDoV (ORCPT ); Wed, 3 Mar 2010 22:44:21 -0500 Received: from g5t0030.atlanta.hp.com (g5t0030.atlanta.hp.com [16.228.8.142]) by g5t0007.atlanta.hp.com (Postfix) with ESMTP id BBDB0142E6; Thu, 4 Mar 2010 03:44:20 +0000 (UTC) Received: from ldl (ldl.fc.hp.com [15.11.146.30]) by g5t0030.atlanta.hp.com (Postfix) with ESMTP id 9FF6014127; Thu, 4 Mar 2010 03:44:20 +0000 (UTC) Received: from localhost (ldl.fc.hp.com [127.0.0.1]) by ldl (Postfix) with ESMTP id 6F6E1CF0039; Wed, 3 Mar 2010 20:44:20 -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 r8-c6hHqf6sr; Wed, 3 Mar 2010 20:44:20 -0700 (MST) Received: from eh.fc.hp.com (eh.fc.hp.com [15.11.146.105]) by ldl (Postfix) with ESMTP id 59866CF0037; Wed, 3 Mar 2010 20:44:20 -0700 (MST) Received: from bob.kio (localhost [127.0.0.1]) by eh.fc.hp.com (Postfix) with ESMTP id 5542D2617B; Wed, 3 Mar 2010 20:44:20 -0700 (MST) Subject: [PATCH 3/4] ipmi: Convert tracking of the ACPI device pointer to a PNP device To: minyard@acm.org From: Myron Stowe Cc: linux-acpi@vger.kernel.org, openipmi-developer@lists.sourceforge.net, lenb@kernel.org Date: Wed, 03 Mar 2010 20:44:20 -0700 Message-ID: <20100304034420.30205.7749.stgit@bob.kio> In-Reply-To: <20100304033146.30205.68689.stgit@bob.kio> References: <20100304033146.30205.68689.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]); Thu, 04 Mar 2010 03:44:23 +0000 (UTC) diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 806ae83..37c6912 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c @@ -1934,7 +1934,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);