From: Wolfram Sang <w.sang@pengutronix.de>
To: Axel Lin <axel.lin@gmail.com>
Cc: linux-kernel@vger.kernel.org, Rudolf Marek <r.marek@assembler.cz>,
"Jean Delvare (PC drivers, core)" <khali@linux-fr.org>,
"Ben Dooks (embedded platforms)" <ben-linux@fluff.org>,
Olof Johansson <olof@lixom.net>,
"Mark M. Hoffman" <mhoffman@lightlink.com>,
Dirk Brandewie <dirk.brandewie@gmail.com>,
Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>,
Feng Tang <feng.tang@intel.com>,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
linux-i2c@vger.kernel.org
Subject: Re: [PATCH RESEND] i2c: Convert to DEFINE_PCI_DEVICE_TABLE
Date: Wed, 28 Dec 2011 22:53:33 +0100 [thread overview]
Message-ID: <20111228215333.GA13515@pengutronix.de> (raw)
In-Reply-To: <1325076512.6997.1.camel@phoenix>
[-- Attachment #1: Type: text/plain, Size: 786 bytes --]
On Wed, Dec 28, 2011 at 08:48:32PM +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@gmail.com>
Cool, thanks for the update!
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-12-28 21:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-28 12:48 [PATCH RESEND] i2c: Convert to DEFINE_PCI_DEVICE_TABLE Axel Lin
2011-12-28 21:06 ` Olof Johansson
2011-12-28 21:53 ` Wolfram Sang [this message]
2012-01-05 20:25 ` Jean Delvare
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=20111228215333.GA13515@pengutronix.de \
--to=w.sang@pengutronix.de \
--cc=axel.lin@gmail.com \
--cc=ben-linux@fluff.org \
--cc=bigeasy@linutronix.de \
--cc=dirk.brandewie@gmail.com \
--cc=feng.tang@intel.com \
--cc=khali@linux-fr.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhoffman@lightlink.com \
--cc=olof@lixom.net \
--cc=r.marek@assembler.cz \
--cc=tomoya-linux@dsn.lapis-semi.com \
/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