From: Zhang, Yanmin Date: Thu, 28 Sep 2006 06:35:59 +0000 (+0800) Subject: PCI: fix pcie_portdrv_restore_config undefined without CONFIG_PM error X-Git-Tag: v2.6.19-rc3~125^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bed208efcb25bed4dc2026488a4417aa68e7c92;p=pandora-kernel.git PCI: fix pcie_portdrv_restore_config undefined without CONFIG_PM error On Thu, 2006-09-28 at 03:42, Olaf Hering wrote: > PCI-Express AER implemetation: pcie_portdrv error handler > > This patch breaks if CONFIG_PM is not enabled, > pcie_portdrv_restore_config() will be undefined. I move the definition of pcie_portdrv_restore_config out of CONFIG_PM. Below patch is against 2.6.18-mm1. Could you try it? Signed-off-by: Zhang Yanmin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed