diff mbox

[2/4] Fix two warnings

Message ID 1257719231-2031-3-git-send-email-hauke@hauke-m.de (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Hauke Mehrtens Nov. 8, 2009, 10:27 p.m. UTC
None
diff mbox

Patch

diff --git a/compat/patches/11-dev-pm-ops.patch b/compat/patches/11-dev-pm-ops.patch
index a1937a9..fc4de8f 100644
--- a/compat/patches/11-dev-pm-ops.patch
+++ b/compat/patches/11-dev-pm-ops.patch
@@ -14,7 +14,6 @@  calls on compat code with only slight modifications.
  static int		ath5k_pci_suspend(struct device *dev);
  static int		ath5k_pci_resume(struct device *dev);
 +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29))
-+#endif
 +static int ath5k_pci_suspend_compat(struct pci_dev *pdev, pm_message_t state)
 +{
 +	int r;
@@ -40,6 +39,7 @@  calls on compat code with only slight modifications.
 +
 +	return ath5k_pci_resume(&pdev->dev);
 +}
++#endif
  
  SIMPLE_DEV_PM_OPS(ath5k_pm_ops, ath5k_pci_suspend, ath5k_pci_resume);
  #define ATH5K_PM_OPS	(&ath5k_pm_ops)