]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09447b14672d5e03aaf14a3d94a4be5102cc4923
tree20e8c3000c47b0dea7eca79ef7c49db916606d65
parent7d7fb99356fb94682cf7ff1b6b70f98c0bcc12be
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