Skip to contentSkip to conversation

PCI PM: reorganize power management code

PATCH In review Adam Belay 1 participant 1 message Jun 5, 2006 PCI

lore
Share & tools
lore

Adam Belay

author
#0 lore raw

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.

---
 Makefile |    2
 pci.c    |  279 --------------------------------------------------------
 pm.c     |  309 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 310 insertions(+), 280 deletions(-)
drivers/pci/Makefile +1 -1
diff -urN a/drivers/pci/Makefile b/drivers/pci/Makefile
@@ -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