lkml.org 
[lkml]   [2008]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectstruct pci_device_id cleanups

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




\
 
 \ /
  Last update: 2008-04-03 08:51    [W:0.027 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site