netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* struct pci_device_id cleanups
@ 2008-04-03  6:48 Jonas Bonn
  0 siblings, 0 replies; only message in thread
From: Jonas Bonn @ 2008-04-03  6:48 UTC (permalink / raw)
  To: netdev, linux-kernel, jgarzik


In the "net" branch of my repo, there are a series of changesets that 
modify the definition of struct pci_device_id to use the macro 
DEFINE_PCI_DEVICE_TABLE.  All the changesets in the public tree are 
one-liners of the type:

-static struct pci_device_id myri10ge_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(myri10ge_pci_tbl) = {
	...

The change to using this macro has two effects:
i)  Makes the structure 'const'
ii)  Puts the structure in section __devinitconst

Both these changes are as per the documentation.

Please pull and review these changes from the "net" branch at:

git://www.southpole.se/~jonas/git/linux.git

Regards,
Jonas



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-03  6:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-03  6:48 struct pci_device_id cleanups Jonas Bonn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).