Skip to content

ACPI: trim acpi_drivers.h

Bjorn Helgaas linux-acpi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ACPI: pci: make new pci.h header local to driverdrivers/acpi/pci.h drivers/acpi/pci_bind.c drivers/acpi/pci_irq.c +2 more+24 -133 replies
2/3ACPI: processor: make new processor.h header local to driverdrivers/acpi/processor.h drivers/acpi/processor_core.c drivers/acpi/processor_thermal.c +2 more+11 -101 reply
3/3ACPI: move internal core declarations to private headerdrivers/acpi/bus.c drivers/acpi/ospm.h drivers/acpi/scan.c +3 more+29 -234 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ACPI: trim acpi_drivers.h

The include/acpi/acpi_drivers.h file contains declarations for several unrelated ACPI drivers, as well as things needed only within the ACPI core (a.k.a. the "OSPM").

These patches move some of those declarations out into new driver-specific and OSPM-specific header files where they aren't visible to the world.

Comments welcome.

Bjorn

---

Bjorn Helgaas (3):
ACPI: move internal core declarations to private header
ACPI: processor: make new processor.h header local to driver
ACPI: pci: make new pci.h header local to driver

 drivers/acpi/bus.c               |    2 ++
 drivers/acpi/ospm.h              |   23 +++++++++++++++++++
 drivers/acpi/pci.h               |   18 +++++++++++++++
 drivers/acpi/pci_bind.c          |    2 ++
 drivers/acpi/pci_irq.c           |    2 ++
 drivers/acpi/pci_root.c          |    2 ++
 drivers/acpi/processor.h         |    5 ++++
 drivers/acpi/processor_core.c    |    2 ++
 drivers/acpi/processor_thermal.c |    2 ++
 drivers/acpi/scan.c              |    2 ++
 drivers/acpi/sleep.c             |    1 +
 drivers/acpi/thermal.c           |    2 ++
 drivers/acpi/wakeup.c            |    1 +
 include/acpi/acpi_drivers.h      |   46 --------------------------------------
 14 files changed, 64 insertions(+), 46 deletions(-)
 create mode 100644 drivers/acpi/ospm.h
 create mode 100644 drivers/acpi/pci.h
 create mode 100644 drivers/acpi/processor.h
Signature · 1 line
Signature