From 357b74e0c945155209d67c0758aa43a27abc50f2 Mon Sep 17 00:00:00 2001 From: Felix Bitterli Date: Mon, 2 Nov 2009 08:46:04 -0800 Subject: [PATCH] Fixes a pm patch for ath5k Signed-off-by: Felix Bitterli --- compat/patches/11-dev-pm-ops.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2