PCIE: Make use of the previously split out pcie_init_enable_events() function
authorMark Lord <lkml@rtr.ca>
Wed, 28 Nov 2007 23:12:00 +0000 (15:12 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:23 +0000 (15:04 -0800)
commitcd2fe83a81510acfd1ae29b8ffe04f7ef675c993
treed445b9d21069284f782df86b097c687a4ff6d46c
parent08e7a7d27d71e92305980033ec03c0a86b3efb2d
PCIE: Make use of the previously split out pcie_init_enable_events() function

Make use of the previously split out pcie_init_enable_events() function
to reinitialize the hotplug hardware on resume from suspend, but only
when pciehp_force==1.  Otherwise behaviour is unmodified.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_core.c
drivers/pci/hotplug/pciehp_ctrl.c