mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brian Gerst <bgerst@quark.didntduck.org>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] Emu10k1 gameport fix
Date: Sun, 17 Nov 2002 12:44:23 -0500	[thread overview]
Message-ID: <3DD7D577.3030308@quark.didntduck.org> (raw)

[-- 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;
 }

                 reply	other threads:[~2002-11-17 17:37 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=3DD7D577.3030308@quark.didntduck.org \
    --to=bgerst@quark.didntduck.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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

all inboxes | Powered by JetHome®