PM / Intel IOMMU: Fix init_iommu_pm_ops() for CONFIG_PM unset
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 7 Jun 2011 19:32:31 +0000 (21:32 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 7 Jun 2011 19:32:31 +0000 (21:32 +0200)
commit99592ba4a80edb84938e7e0cf71fdecff1ce67fd
treea60f9a74b5fbd1f00481c28576d4a18910cb852e
parent59c5f46fbe01a00eedf54a23789634438bb80603
PM / Intel IOMMU: Fix init_iommu_pm_ops() for CONFIG_PM unset

If CONFIG_PM is not set, init_iommu_pm_ops() introduced by commit
134fac3f457f3dd753ecdb25e6da3e5f6629f696 (PCI / Intel IOMMU: Use
syscore_ops instead of sysdev class and sysdev) is not defined
appropriately.  Fix this issue.

Reported-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/pci/intel-iommu.c