Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1214839 > unrolled thread

Re: cxl: Remove use of macro DEFINE_PCI_DEVICE_TABLE

Started byMichael Ellerman <mpe@ellerman.id.au>
First post2015-08-28 00:00 +0200
Last post2015-08-28 00:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: cxl: Remove use of macro DEFINE_PCI_DEVICE_TABLE Michael Ellerman <mpe@ellerman.id.au> - 2015-08-28 00:00 +0200

#1214839 — Re: cxl: Remove use of macro DEFINE_PCI_DEVICE_TABLE

FromMichael Ellerman <mpe@ellerman.id.au>
Date2015-08-28 00:00 +0200
SubjectRe: cxl: Remove use of macro DEFINE_PCI_DEVICE_TABLE
Message-ID<q2dnc-9F-7@gated-at.bofh.it>
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@gmail.com>
> Acked-by: Michael Neuling <mikey@neuling.org>
> Acked-by: Ian Munsie <imunsie@au1.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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web