[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150827215835.309C31401CD@ozlabs.org>
Date: Fri, 28 Aug 2015 07:58:34 +1000 (AEST)
From: Michael Ellerman <mpe@...erman.id.au>
To: Vaishali Thakkar <vthakkar1994@...il.com>,
Ian Munsie <imunsie@....ibm.com>
Cc: Michael Neuling <mikey@...ling.org>, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: cxl: Remove use of macro DEFINE_PCI_DEVICE_TABLE
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 <vthakkar1994@...il.com>
> Acked-by: Michael Neuling <mikey@...ling.org>
> Acked-by: Ian Munsie <imunsie@....ibm.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists