resources: Move struct resource_list_entry from ACPI into resource core
authorJiang Liu <jiang.liu@linux.intel.com>
Thu, 5 Feb 2015 05:44:43 +0000 (13:44 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 5 Feb 2015 14:09:25 +0000 (15:09 +0100)
commit90e97820619dc912b52cc9d103272819d8b51259
tree20e8c3000c47b0dea7eca79ef7c49db916606d65
parent62d1141ff34e35de496ba06491c8e854b23b3f3e
resources: Move struct resource_list_entry from ACPI into resource core

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. So move struct resource_list_entry
from ACPI into resource core and rename it as resource_entry,
then 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 <jiang.liu@linux.intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_lpss.c
drivers/acpi/acpi_platform.c
drivers/acpi/resource.c
drivers/dma/acpi-dma.c
include/linux/acpi.h
include/linux/resource_ext.h [new file with mode: 0644]
kernel/resource.c