linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] Input: emu10k1 - use DEFINE_PCI_DEVICE_TABLE macro
@ 2013-11-28  2:19 Jingoo Han
  2013-11-28  2:20 ` [PATCH 2/3] Input: fm801-gp " Jingoo Han
  2013-11-28  2:21 ` [PATCH 3/3] Input: pcips2 " Jingoo Han
  0 siblings, 2 replies; 6+ messages in thread
From: Jingoo Han @ 2013-11-28  2:19 UTC (permalink / raw)
  To: 'Dmitry Torokhov'
  Cc: 'Dmitry Torokhov', linux-input, 'Jingoo Han'

This macro is used to create a struct pci_device_id array.

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

diff --git a/drivers/input/gameport/emu10k1-gp.c b/drivers/input/gameport/emu10k1-gp.c
index fa7a95c..72a7213 100644
--- a/drivers/input/gameport/emu10k1-gp.c
+++ b/drivers/input/gameport/emu10k1-gp.c
@@ -46,7 +46,7 @@ struct emu {
 	int size;
 };
 
-static const struct pci_device_id emu_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(emu_tbl) = {
 
 	{ 0x1102, 0x7002, PCI_ANY_ID, PCI_ANY_ID }, /* SB Live gameport */
 	{ 0x1102, 0x7003, PCI_ANY_ID, PCI_ANY_ID }, /* Audigy gameport */
-- 
1.7.10.4



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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-28  2:19 [PATCH 1/3] Input: emu10k1 - use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
2013-11-28  2:20 ` [PATCH 2/3] Input: fm801-gp " Jingoo Han
2013-11-28  2:21 ` [PATCH 3/3] Input: pcips2 " Jingoo Han
2013-11-28  3:56   ` Dmitry Torokhov
2013-11-28  4:32     ` Jingoo Han
2013-11-28  7:35       ` Dmitry Torokhov

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