From: Dominik Brodowski <linux@brodo.de>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] pcmcia: small bugfix & cleanup
Date: Sun, 16 Feb 2003 01:51:01 +0100 [thread overview]
Message-ID: <20030216005101.GA6758@brodo.de> (raw)
Remove unneeded function declarations and correct /proc-directory name for
> 1 pcmcia_socket_class devices.
Dominik
diff -ruN linux-original/drivers/pcmcia/cs.c linux-pcmcia/drivers/pcmcia/cs.c
--- linux-original/drivers/pcmcia/cs.c 2003-02-16 01:28:50.000000000 +0100
+++ linux-pcmcia/drivers/pcmcia/cs.c 2003-02-16 01:30:04.000000000 +0100
@@ -356,7 +356,7 @@
#ifdef CONFIG_PROC_FS
if (proc_pccard) {
char name[3];
- sprintf(name, "%02d", i);
+ sprintf(name, "%02d", j);
s->proc = proc_mkdir(name, proc_pccard);
if (s->proc)
s->ss_entry->proc_setup(i, s->proc);
diff -ruN linux-original/drivers/pcmcia/pci_socket.c linux-pcmcia/drivers/pcmcia/pci_socket.c
--- linux-original/drivers/pcmcia/pci_socket.c 2003-02-16 01:28:50.000000000 +0100
+++ linux-pcmcia/drivers/pcmcia/pci_socket.c 2003-02-16 01:28:16.000000000 +0100
@@ -31,9 +31,6 @@
#include "pci_socket.h"
-extern struct socket_info_t *pcmcia_register_socket (int slot,
- struct pccard_operations *vtable, int use_bus_pm);
-extern void pcmcia_unregister_socket (struct socket_info_t *socket);
extern void pcmcia_suspend_socket (struct socket_info_t *socket);
extern void pcmcia_resume_socket (struct socket_info_t *socket);
reply other threads:[~2003-02-16 0:41 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=20030216005101.GA6758@brodo.de \
--to=linux@brodo.de \
--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