mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Emu10k1 gameport fix
@ 2002-11-17 17:44 Brian Gerst
  0 siblings, 0 replies; only message in thread
From: Brian Gerst @ 2002-11-17 17:44 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux-Kernel

[-- Attachment #1: Type: text/plain, Size: 65 bytes --]

Change from PCI name to generic device name.

--
				Brian Gerst

[-- Attachment #2: emugp-name-1 --]
[-- Type: text/plain, Size: 788 bytes --]

diff -urN -X scripts/dontdiff linux-2.5.47-bk3/drivers/input/gameport/emu10k1-gp.c linux/drivers/input/gameport/emu10k1-gp.c
--- linux-2.5.47-bk3/drivers/input/gameport/emu10k1-gp.c	Mon Oct 14 19:47:27 2002
+++ linux/drivers/input/gameport/emu10k1-gp.c	Sun Nov 17 11:46:25 2002
@@ -84,7 +84,7 @@
 	emu->dev = pdev;
 
 	emu->gameport.io = ioport;
-	emu->gameport.name = pdev->name;
+	emu->gameport.name = pdev->dev.name;
 	emu->gameport.phys = emu->phys;
 	emu->gameport.id.bustype = BUS_PCI;
 	emu->gameport.id.vendor = pdev->vendor;
@@ -95,7 +95,7 @@
 	gameport_register_port(&emu->gameport);
 
 	printk(KERN_INFO "gameport: %s at pci%s speed %d kHz\n",
-		pdev->name, pdev->slot_name, emu->gameport.speed);
+		emu->gameport.name, pdev->slot_name, emu->gameport.speed);
 
 	return 0;
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-17 17:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-17 17:44 [PATCH] Emu10k1 gameport fix Brian Gerst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®