From: Jonas Bonn <jonas@southpole.se>
To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jgarzik@pobox.com
Subject: struct pci_device_id cleanups
Date: Thu, 03 Apr 2008 08:48:51 +0200 [thread overview]
Message-ID: <47F47DD3.8090402@southpole.se> (raw)
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
reply other threads:[~2008-04-03 6:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=47F47DD3.8090402@southpole.se \
--to=jonas@southpole.se \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.