From: Jingoo Han <jg1.han@samsung.com>
To: "'David S. Miller'" <davem@davemloft.net>
Cc: netdev@vger.kernel.org,
'Grant Grundler' <grundler@parisc-linux.org>,
'Jingoo Han' <jg1.han@samsung.com>
Subject: [PATCH 2/3] net: tulip: use DEFINE_PCI_DEVICE_TABLE
Date: Tue, 22 Oct 2013 12:00:30 +0900 [thread overview]
Message-ID: <000f01ceced2$dde772b0$99b65810$%han@samsung.com> (raw)
In-Reply-To: <000e01ceced2$a9e5d970$fdb18c50$%han@samsung.com>
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
drivers/net/ethernet/dec/tulip/de4x5.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c
index 263b92c..c05b66d 100644
--- a/drivers/net/ethernet/dec/tulip/de4x5.c
+++ b/drivers/net/ethernet/dec/tulip/de4x5.c
@@ -2328,7 +2328,7 @@ static void de4x5_pci_remove(struct pci_dev *pdev)
pci_disable_device (pdev);
}
-static struct pci_device_id de4x5_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(de4x5_pci_tbl) = {
{ PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP_PLUS,
--
1.7.10.4
next prev parent reply other threads:[~2013-10-22 3:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-22 2:59 [PATCH 1/3] net: cxgb4vf: use DEFINE_PCI_DEVICE_TABLE Jingoo Han
2013-10-22 3:00 ` Jingoo Han [this message]
2013-10-22 3:37 ` [PATCH 2/3] net: tulip: " Grant Grundler
2013-10-22 6:19 ` David Miller
2013-10-22 3:01 ` [PATCH 3/3] net: ksz884x: " Jingoo Han
2013-10-22 6:19 ` David Miller
2013-10-22 6:19 ` [PATCH 1/3] net: cxgb4vf: " David Miller
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='000f01ceced2$dde772b0$99b65810$%han@samsung.com' \
--to=jg1.han@samsung.com \
--cc=davem@davemloft.net \
--cc=grundler@parisc-linux.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 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).