linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] uio: uio_aec: use DEFINE_PCI_DEVICE_TABLE macro
@ 2013-11-28  2:13 Jingoo Han
  2013-11-28  2:14 ` [PATCH 2/4] uio: uio_cif: " Jingoo Han
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jingoo Han @ 2013-11-28  2:13 UTC (permalink / raw)
  To: 'Greg Kroah-Hartman'; +Cc: linux-kernel, 'Jingoo Han'

This macro is used to create a struct pci_device_id array.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/uio/uio_aec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/uio/uio_aec.c b/drivers/uio/uio_aec.c
index 1549fab..c06f800 100644
--- a/drivers/uio/uio_aec.c
+++ b/drivers/uio/uio_aec.c
@@ -45,7 +45,7 @@
 
 #define MAILBOX			0x0F
 
-static struct pci_device_id ids[] = {
+static DEFINE_PCI_DEVICE_TABLE(ids) = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_AEC, PCI_DEVICE_ID_AEC_VITCLTC), },
 	{ 0, }
 };
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/4] uio: uio_cif: use DEFINE_PCI_DEVICE_TABLE macro
  2013-11-28  2:13 [PATCH 1/4] uio: uio_aec: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
@ 2013-11-28  2:14 ` Jingoo Han
  2013-11-28  2:14 ` [PATCH 3/4] uio: uio_netx: " Jingoo Han
  2013-11-28  2:15 ` [PATCH 4/4] uio: uio_sercos3: " Jingoo Han
  2 siblings, 0 replies; 4+ messages in thread
From: Jingoo Han @ 2013-11-28  2:14 UTC (permalink / raw)
  To: 'Greg Kroah-Hartman'; +Cc: linux-kernel, 'Jingoo Han'

This macro is used to create a struct pci_device_id array.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/uio/uio_cif.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/uio/uio_cif.c b/drivers/uio/uio_cif.c
index 30f533c..07dba37 100644
--- a/drivers/uio/uio_cif.c
+++ b/drivers/uio/uio_cif.c
@@ -111,7 +111,7 @@ static void hilscher_pci_remove(struct pci_dev *dev)
 	kfree (info);
 }
 
-static struct pci_device_id hilscher_pci_ids[] = {
+static DEFINE_PCI_DEVICE_TABLE(hilscher_pci_ids) = {
 	{
 		.vendor =	PCI_VENDOR_ID_PLX,
 		.device =	PCI_DEVICE_ID_PLX_9030,
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 3/4] uio: uio_netx: use DEFINE_PCI_DEVICE_TABLE macro
  2013-11-28  2:13 [PATCH 1/4] uio: uio_aec: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
  2013-11-28  2:14 ` [PATCH 2/4] uio: uio_cif: " Jingoo Han
@ 2013-11-28  2:14 ` Jingoo Han
  2013-11-28  2:15 ` [PATCH 4/4] uio: uio_sercos3: " Jingoo Han
  2 siblings, 0 replies; 4+ messages in thread
From: Jingoo Han @ 2013-11-28  2:14 UTC (permalink / raw)
  To: 'Greg Kroah-Hartman'; +Cc: linux-kernel, 'Jingoo Han'

This macro is used to create a struct pci_device_id array.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/uio/uio_netx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/uio/uio_netx.c b/drivers/uio/uio_netx.c
index 4c345db..8e85bfb 100644
--- a/drivers/uio/uio_netx.c
+++ b/drivers/uio/uio_netx.c
@@ -132,7 +132,7 @@ static void netx_pci_remove(struct pci_dev *dev)
 	kfree(info);
 }
 
-static struct pci_device_id netx_pci_ids[] = {
+static DEFINE_PCI_DEVICE_TABLE(netx_pci_ids) = {
 	{
 		.vendor =	PCI_VENDOR_ID_HILSCHER,
 		.device =	PCI_DEVICE_ID_HILSCHER_NETX,
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 4/4] uio: uio_sercos3: use DEFINE_PCI_DEVICE_TABLE macro
  2013-11-28  2:13 [PATCH 1/4] uio: uio_aec: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
  2013-11-28  2:14 ` [PATCH 2/4] uio: uio_cif: " Jingoo Han
  2013-11-28  2:14 ` [PATCH 3/4] uio: uio_netx: " Jingoo Han
@ 2013-11-28  2:15 ` Jingoo Han
  2 siblings, 0 replies; 4+ messages in thread
From: Jingoo Han @ 2013-11-28  2:15 UTC (permalink / raw)
  To: 'Greg Kroah-Hartman'; +Cc: linux-kernel, 'Jingoo Han'

This macro is used to create a struct pci_device_id array.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/uio/uio_sercos3.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/uio/uio_sercos3.c b/drivers/uio/uio_sercos3.c
index 9cfdfca..f233b03 100644
--- a/drivers/uio/uio_sercos3.c
+++ b/drivers/uio/uio_sercos3.c
@@ -196,7 +196,7 @@ static void sercos3_pci_remove(struct pci_dev *dev)
 	kfree(info);
 }
 
-static struct pci_device_id sercos3_pci_ids[] = {
+static DEFINE_PCI_DEVICE_TABLE(sercos3_pci_ids) = {
 	{
 		.vendor =       PCI_VENDOR_ID_PLX,
 		.device =       PCI_DEVICE_ID_PLX_9030,
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-28  2:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-28  2:13 [PATCH 1/4] uio: uio_aec: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
2013-11-28  2:14 ` [PATCH 2/4] uio: uio_cif: " Jingoo Han
2013-11-28  2:14 ` [PATCH 3/4] uio: uio_netx: " Jingoo Han
2013-11-28  2:15 ` [PATCH 4/4] uio: uio_sercos3: " Jingoo Han

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).