[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120105212553.02d69dda@endymion.delvare>
Date: Thu, 5 Jan 2012 21:25:53 +0100
From: Jean Delvare <khali@...ux-fr.org>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org, Rudolf Marek <r.marek@...embler.cz>,
"Ben Dooks (embedded platforms)" <ben-linux@...ff.org>,
Olof Johansson <olof@...om.net>,
"Mark M. Hoffman" <mhoffman@...htlink.com>,
Dirk Brandewie <dirk.brandewie@...il.com>,
Tomoya MORINAGA <tomoya-linux@....lapis-semi.com>,
Wolfram Sang <w.sang@...gutronix.de>,
Feng Tang <feng.tang@...el.com>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
linux-i2c@...r.kernel.org
Subject: Re: [PATCH RESEND] i2c: Convert to DEFINE_PCI_DEVICE_TABLE
On Wed, 28 Dec 2011 20:48:32 +0800, Axel Lin wrote:
> Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE
> tables.
>
> Use DEFINE_PCI_DEVICE_TABLE ensures we make the pci_device_id table const
> and marked as __devinitconst.
>
> This also fixes some warnings from checkpatch:
> e.g.
> WARNING: Use DEFINE_PCI_DEVICE_TABLE for struct pci_device_id
> #1096: FILE: i2c/busses/i2c-intel-mid.c:1096:
> +static struct pci_device_id intel_mid_i2c_ids[] = {
>
> Signed-off-by: Axel Lin <axel.lin@...il.com>
> Cc: Rudolf Marek <r.marek@...embler.cz>
> Cc: Jean Delvare <khali@...ux-fr.org>
> Cc: Ben Dooks <ben-linux@...ff.org>
> Cc: Olof Johansson <olof@...om.net>
> Cc: "Mark M. Hoffman" <mhoffman@...htlink.com>
> Cc: Dirk Brandewie <dirk.brandewie@...il.com>
> Cc: Tomoya MORINAGA <tomoya-linux@....lapis-semi.com>
> Cc: Wolfram Sang <w.sang@...gutronix.de>
> Cc: Feng Tang <feng.tang@...el.com>
> Cc: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
> Cc: linux-i2c@...r.kernel.org
> ---
> This resend updates the change log.
> This patch is against linux-next tree.
> Axel
>
> drivers/i2c/busses/i2c-ali1563.c | 2 +-
> drivers/i2c/busses/i2c-ali15x3.c | 2 +-
> drivers/i2c/busses/i2c-amd756.c | 2 +-
> drivers/i2c/busses/i2c-amd8111.c | 2 +-
> drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
> drivers/i2c/busses/i2c-eg20t.c | 2 +-
> drivers/i2c/busses/i2c-hydra.c | 2 +-
> drivers/i2c/busses/i2c-i801.c | 2 +-
> drivers/i2c/busses/i2c-intel-mid.c | 2 +-
> drivers/i2c/busses/i2c-nforce2.c | 2 +-
> drivers/i2c/busses/i2c-pasemi.c | 2 +-
> drivers/i2c/busses/i2c-piix4.c | 2 +-
> drivers/i2c/busses/i2c-pxa-pci.c | 2 +-
> drivers/i2c/busses/i2c-sis5595.c | 2 +-
> drivers/i2c/busses/i2c-sis630.c | 2 +-
> drivers/i2c/busses/i2c-sis96x.c | 2 +-
> drivers/i2c/busses/i2c-via.c | 2 +-
> drivers/i2c/busses/i2c-viapro.c | 2 +-
> drivers/i2c/busses/scx200_acb.c | 2 +-
> 19 files changed, 19 insertions(+), 19 deletions(-)
> (...)
Applied, thanks!
--
Jean Delvare
--
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