From: Julian Brost <linux-kernel@0x4a42.net>
To: Julian Brost <linux-kernel@0x4a42.net>,
Fabian Hofmann <fabian.hofmann@fau.de>
Cc: linux-kernel@i4.cs.fau.de,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Paul Mackerras <paulus@samba.org>, Ingo Molnar <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 1/5] perf/x86/intel/uncore: checkpatch: Replace deprecated macro.
Date: Thu, 18 Dec 2014 17:51:36 +0100 [thread overview]
Message-ID: <1418921500-5630-2-git-send-email-linux-kernel@0x4a42.net> (raw)
In-Reply-To: <1418921500-5630-1-git-send-email-linux-kernel@0x4a42.net>
The DEFINE_PCI_DEVICE_TABLE macro is deprecated and was replaced with an
appropriate struct.
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Julian Brost <linux-kernel@0x4a42.net>
Signed-off-by: Fabian Hofmann <fabian.hofmann@fau.de>
---
arch/x86/kernel/cpu/perf_event_intel_uncore_snbep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/perf_event_intel_uncore_snbep.c b/arch/x86/kernel/cpu/perf_event_intel_uncore_snbep.c
index f9ed429..d817c43 100644
--- a/arch/x86/kernel/cpu/perf_event_intel_uncore_snbep.c
+++ b/arch/x86/kernel/cpu/perf_event_intel_uncore_snbep.c
@@ -2196,7 +2196,7 @@ static struct intel_uncore_type *hswep_pci_uncores[] = {
NULL,
};
-static DEFINE_PCI_DEVICE_TABLE(hswep_uncore_pci_ids) = {
+static const struct pci_device_id hswep_uncore_pci_ids[] = {
{ /* Home Agent 0 */
PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x2f30),
.driver_data = UNCORE_PCI_DEV_DATA(HSWEP_PCI_UNCORE_HA, 0),
--
1.9.1
next prev parent reply other threads:[~2014-12-18 16:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-16 17:30 [PATCH] perf/x86/intel/uncore: Fix coding style Julian Brost
2014-12-17 8:09 ` Julian Brost
2014-12-18 16:51 ` [PATCH v2 0/5] perf/x86/intel/uncore: Fix multiple coding style issues Julian Brost
2014-12-18 16:51 ` Julian Brost [this message]
2014-12-18 16:51 ` [PATCH v2 2/5] perf/x86/intel/uncore: checkpatch: Replace kzalloc with kcalloc Julian Brost
2014-12-18 16:51 ` [PATCH v2 3/5] perf/x86/intel/uncore: coding style: Fix alignment in macros Julian Brost
2014-12-18 16:51 ` [PATCH v2 4/5] perf/x86/intel/uncore: checkpatch: Remove unnecessary line continuation Julian Brost
2014-12-18 16:51 ` [PATCH v2 5/5] perf/x86/intel/uncore: checkpatch: Add newlines after declarations Julian Brost
2015-01-09 21:02 ` [PATCH v2 0/5] perf/x86/intel/uncore: Fix multiple coding style issues Julian Brost
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=1418921500-5630-2-git-send-email-linux-kernel@0x4a42.net \
--to=linux-kernel@0x4a42.net \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@kernel.org \
--cc=fabian.hofmann@fau.de \
--cc=hpa@zytor.com \
--cc=linux-kernel@i4.cs.fau.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=paulus@samba.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.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
Powered by JetHome