From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756151AbbBEB6U (ORCPT ); Wed, 4 Feb 2015 20:58:20 -0500 Received: from mga03.intel.com ([134.134.136.65]:6506 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751297AbbBEB6S (ORCPT ); Wed, 4 Feb 2015 20:58:18 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,521,1418112000"; d="scan'208";a="673020035" Date: Wed, 4 Feb 2015 17:56:07 -0800 From: Vinod Koul To: Jiang Liu Cc: "Rafael J. Wysocki" , Thomas Gleixner , Bjorn Helgaas , Yinghai Lu , Borislav Petkov , Lv Zheng , Len Brown , Dan Williams , Andrew Morton , Vivek Goyal , Thierry Reding , Mike Travis , Tony Luck , x86@kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, dmaengine@vger.kernel.org Subject: Re: [Patch v2 17/22] resources: Move struct resource_list_entry from ACPI into resource core Message-ID: <20150205015607.GM4489@intel.com> References: <1422442660-455-1-git-send-email-jiang.liu@linux.intel.com> <1422442660-455-18-git-send-email-jiang.liu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1422442660-455-18-git-send-email-jiang.liu@linux.intel.com> 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 On Wed, Jan 28, 2015 at 06:57:35PM +0800, Jiang Liu wrote: > Currently ACPI, PCI and pnp all implement the same resource list > management with different data structure. We need to transfer from > one data structure into another when passing resources from one > subsystem into another subsystem. Sp move struct resource_list_entry Typo ^^ > from ACPI into resource core, so it could be reused by different > subystems and avoid the data structure conversion. > > Introduce dedicated header file resource_ext.h instead of embedding > it into ioport.h to avoid header file inclusion order issues. > > Signed-off-by: Jiang Liu > --- > drivers/acpi/acpi_lpss.c | 6 ++-- > drivers/acpi/acpi_platform.c | 2 +- > drivers/acpi/resource.c | 13 +++---- > drivers/dma/acpi-dma.c | 8 ++--- For dmaengine: Acked-by: Vinod Koul -- ~Vinod