Messages in this thread | | | Subject | Re: [PATCH] pci/checkpatch: Deprecate DEFINE_PCI_DEVICE_TABLE | From | Joe Perches <> | Date | Mon, 02 Dec 2013 10:07:37 -0800 |
| |
On Mon, 2013-12-02 at 10:01 -0800, Guenter Roeck wrote: > On Mon, Dec 02, 2013 at 09:43:37AM -0800, Joe Perches wrote: > > Prefer use of the direct definition of struct pci_device_id [] > > +all-zero entry. Definitions with static const are generally preferred.
see here:
> Add 'const' ?
Also see $fix.
Not all can be const as some codes actually modify the tables for various quirks.
| |