PCI PM: reorganize power management code
PATCH 1/9 PCI PM: reorganize power management code
This patch moves all existing PCI power management functions to a new
file: drivers/pci/pm.c. Although there may be some stylistic changes, all code is functionally equivalent to the original version.
Signed-off-by Adam Belay <[email protected]>
--- Makefile | 2 pci.c | 279 -------------------------------------------------------- pm.c | 309 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 310 insertions(+), 280 deletions(-)
drivers/pci/Makefile +1 -1
@@ -2,7 +2,7 @@ # Makefile for the PCI bus specific drivers. # -obj-y += access.o bus.o probe.o remove.o pci.o quirks.o \ +obj-y += access.o bus.o probe.o remove.o pci.o pm.o quirks.o \ pci-driver.o search.o pci-sysfs.o rom.o setup-res.o obj-$(CONFIG_PROC_FS) += proc.o
drivers/pci/pci.c +0 -279
303 lines not on this page · raw message
drivers/pci/pm.c +309 -0
309 lines not on this page · raw message