Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752364AbbH0V6h (ORCPT ); Thu, 27 Aug 2015 17:58:37 -0400 Received: from ozlabs.org ([103.22.144.67]:55913 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752254AbbH0V6g (ORCPT ); Thu, 27 Aug 2015 17:58:36 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: f47f966fbe0aaff4ebbdb83d95acdfa5d3c20477 In-Reply-To: <20150719172352.GA14386@vaishali-Ideapad-Z570> To: Vaishali Thakkar , Ian Munsie From: Michael Ellerman Cc: Michael Neuling , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: cxl: Remove use of macro DEFINE_PCI_DEVICE_TABLE Message-Id: <20150827215835.309C31401CD@ozlabs.org> Date: Fri, 28 Aug 2015 07:58:34 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 982 Lines: 31 On Sun, 2015-19-07 at 17:23:52 UTC, Vaishali Thakkar wrote: > Macro DEFINE_PCI_DEVICE_TABLE is deprecated. So, here use > struct pci_device_id instead of DEFINE_PCI_DEVICE_TABLE with > the goal of getting rid of this macro completely. > > The Coccinelle semantic patch that performs this transformation > is as follows: > > @@ > identifier a; > declarer name DEFINE_PCI_DEVICE_TABLE; > initializer i; > @@ > - DEFINE_PCI_DEVICE_TABLE(a) > + const struct pci_device_id a[] > = i; > > Signed-off-by: Vaishali Thakkar > Acked-by: Michael Neuling > Acked-by: Ian Munsie Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/f47f966fbe0aaff4ebbdb83d cheers -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/