From: Jingoo Han <jg1.han@samsung.com>
To: "'Rafael J. Wysocki'" <rafael.j.wysocki@intel.com>
Cc: 'Viresh Kumar' <viresh.kumar@linaro.org>,
linux-pm@vger.kernel.org, 'Jingoo Han' <jg1.han@samsung.com>
Subject: [PATCH V2] cpufreq: nforce2: remove DEFINE_PCI_DEVICE_TABLE macro
Date: Fri, 09 May 2014 15:08:29 +0900 [thread overview]
Message-ID: <000501cf6b4d$1941cbf0$4bc563d0$%han@samsung.com> (raw)
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is deprecated.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
---
Changes since v1:
- Added Viresh Kumar's Acked-by.
- Modified commit message to change from 'not preferred' to 'deprecated'.
drivers/cpufreq/cpufreq-nforce2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/cpufreq/cpufreq-nforce2.c b/drivers/cpufreq/cpufreq-nforce2.c
index bc447b9..a225809 100644
--- a/drivers/cpufreq/cpufreq-nforce2.c
+++ b/drivers/cpufreq/cpufreq-nforce2.c
@@ -379,7 +379,7 @@ static struct cpufreq_driver nforce2_driver = {
};
#ifdef MODULE
-static DEFINE_PCI_DEVICE_TABLE(nforce2_ids) = {
+static const struct pci_device_id nforce2_ids[] = {
{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE2 },
{}
};
--
1.7.10.4
next reply other threads:[~2014-05-09 6:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-09 6:08 Jingoo Han [this message]
2014-05-19 23:17 ` [PATCH V2] cpufreq: nforce2: remove DEFINE_PCI_DEVICE_TABLE macro Rafael J. Wysocki
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='000501cf6b4d$1941cbf0$4bc563d0$%han@samsung.com' \
--to=jg1.han@samsung.com \
--cc=linux-pm@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=viresh.kumar@linaro.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).