From: Felix Bitterli Date: Mon, 2 Nov 2009 16:46:04 +0000 (-0800) Subject: Fixes a pm patch for ath5k X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=357b74e0c945155209d67c0758aa43a27abc50f2;p=openwrt%2Fstaging%2Fblogic.git Fixes a pm patch for ath5k Signed-off-by: Felix Bitterli --- diff --git a/compat/patches/11-dev-pm-ops.patch b/compat/patches/11-dev-pm-ops.patch index d0085533cde8..a1937a9fd479 100644 --- a/compat/patches/11-dev-pm-ops.patch +++ b/compat/patches/11-dev-pm-ops.patch @@ -49,7 +49,7 @@ calls on compat code with only slight modifications. .remove = __devexit_p(ath5k_pci_remove), +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)) .driver.pm = ATH5K_PM_OPS, -+#else ++#elif defined(CONFIG_PM) + .suspend = ath5k_pci_suspend_compat, + .resume = ath5k_pci_resume_compat, +#endif