Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752864Ab2KTJHE (ORCPT ); Tue, 20 Nov 2012 04:07:04 -0500 Received: from mga11.intel.com ([192.55.52.93]:39919 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752300Ab2KTJG6 (ORCPT ); Tue, 20 Nov 2012 04:06:58 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.83,284,1352102400"; d="scan'208";a="249874148" Date: Tue, 20 Nov 2012 11:10:07 +0200 From: Mika Westerberg To: "Rafael J. Wysocki" Cc: Greg Kroah-Hartman , Bjorn Helgaas , Jean Delvare , ben-linux@fluff.org, w.sang@pengutronix.de, linux-kernel@vger.kernel.org, lenb@kernel.org, rafael.j.wysocki@intel.com, broonie@opensource.wolfsonmicro.com, grant.likely@secretlab.ca, linus.walleij@linaro.org, mathias.nyman@linux.intel.com, linux-acpi@vger.kernel.org Subject: Re: [Update][PATCH 2/3] ACPI / driver core: Introduce struct acpi_dev_node and related macros Message-ID: <20121120091007.GN17774@intel.com> References: <1352977397-2280-1-git-send-email-mika.westerberg@linux.intel.com> <1758879.PKgPhTGcB7@vostro.rjw.lan> <4036218.zBRlg5OZsZ@vostro.rjw.lan> <6570191.KCDMiILtRE@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6570191.KCDMiILtRE@vostro.rjw.lan> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1141 Lines: 31 On Tue, Nov 20, 2012 at 01:59:23AM +0100, Rafael J. Wysocki wrote: > Index: linux/include/linux/device.h > =================================================================== > --- linux.orig/include/linux/device.h > +++ linux/include/linux/device.h > @@ -578,6 +578,12 @@ struct device_dma_parameters { > unsigned long segment_boundary_mask; > }; > > +struct acpi_dev_node { > +#ifdef CONFIG_ACPI > + void *handle; > +#endif > +}; > + > /** > * struct device - The basic device structure > * @parent: The device's "parent" device, the device to which it is attached. > @@ -683,7 +689,7 @@ struct device { > struct dev_archdata archdata; > > struct device_node *of_node; /* associated device tree node */ > - void *acpi_handle; /* associated ACPI device node */ > + struct acpi_dev_node acpi_node; /* associated ACPI device node */ Please update the kerneldoc comment as well. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/