On Wed, Dec 28, 2011 at 4:48 AM, Axel Lin <[email protected]> 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 <[email protected]> > Cc: Rudolf Marek <[email protected]> > Cc: Jean Delvare <[email protected]> > Cc: Ben Dooks <[email protected]> > Cc: Olof Johansson <[email protected]> > Cc: "Mark M. Hoffman" <[email protected]> > Cc: Dirk Brandewie <[email protected]> > Cc: Tomoya MORINAGA <[email protected]> > Cc: Wolfram Sang <[email protected]> > Cc: Feng Tang <[email protected]> > Cc: Sebastian Andrzej Siewior <[email protected]> > Cc: [email protected]
Acked-by: Olof Johansson <[email protected]> [PA Semi portion] -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
