All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hauke Mehrtens <hauke@hauke-m.de>
To: lrodriguez@atheros.com
Cc: linux-wireless@vger.kernel.org, Hauke Mehrtens <hauke@hauke-m.de>
Subject: [PATCH 2/4] Fix two warnings
Date: Sun,  8 Nov 2009 23:27:09 +0100	[thread overview]
Message-ID: <1257719231-2031-3-git-send-email-hauke@hauke-m.de> (raw)
In-Reply-To: <1257719231-2031-1-git-send-email-hauke@hauke-m.de>

This fixes these two warnings:
drivers/net/wireless/ath/ath5k/base.c:202: warning: ‘ath5k_pci_suspend_compat’ defined but not used
drivers/net/wireless/ath/ath5k/base.c:216: warning: ‘ath5k_pci_resume_compat’ defined but not used

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 compat/patches/11-dev-pm-ops.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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)
-- 
1.6.3.3


  parent reply	other threads:[~2009-11-08 22:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-08 22:27 [PATCH 0/4] *** SUBJECT HERE *** Hauke Mehrtens
2009-11-08 22:27 ` [PATCH 1/4] Fix build problem, missing get_unaligned_le16 Hauke Mehrtens
2009-11-08 22:27 ` Hauke Mehrtens [this message]
2009-11-08 22:27 ` [PATCH 3/4] refresh patches Hauke Mehrtens
2009-11-08 22:27 ` [PATCH 4/4] [compat-2.6] Add symbol CONFIG_RT2800_LIB Hauke Mehrtens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1257719231-2031-3-git-send-email-hauke@hauke-m.de \
    --to=hauke@hauke-m.de \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lrodriguez@atheros.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.