From: Adrian Bunk <bunk@stusta.de>
To: linux-kernel@vger.kernel.org
Subject: [2.6 patch] floppy driver: make fd_routine static
Date: Sun, 10 Apr 2005 20:10:25 +0200 [thread overview]
Message-ID: <20050410181025.GD4204@stusta.de> (raw)
This patch makes the needlessly global fd_routine static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
include/asm-i386/floppy.h | 2 +-
include/asm-parisc/floppy.h | 2 +-
include/asm-sh/floppy.h | 2 +-
include/asm-x86_64/floppy.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
--- linux-2.6.12-rc2-mm2-full/include/asm-i386/floppy.h.old 2005-04-10 01:51:37.000000000 +0200
+++ linux-2.6.12-rc2-mm2-full/include/asm-i386/floppy.h 2005-04-10 01:51:45.000000000 +0200
@@ -257,7 +257,7 @@
return 0;
}
-struct fd_routine_l {
+static struct fd_routine_l {
int (*_request_dma)(unsigned int dmanr, const char * device_id);
void (*_free_dma)(unsigned int dmanr);
int (*_get_dma_residue)(unsigned int dummy);
--- linux-2.6.12-rc2-mm2-full/include/asm-x86_64/floppy.h.old 2005-04-10 01:51:53.000000000 +0200
+++ linux-2.6.12-rc2-mm2-full/include/asm-x86_64/floppy.h 2005-04-10 01:51:59.000000000 +0200
@@ -223,7 +223,7 @@
return 0;
}
-struct fd_routine_l {
+static struct fd_routine_l {
int (*_request_dma)(unsigned int dmanr, const char * device_id);
void (*_free_dma)(unsigned int dmanr);
int (*_get_dma_residue)(unsigned int dummy);
--- linux-2.6.12-rc2-mm2-full/include/asm-parisc/floppy.h.old 2005-04-10 01:52:07.000000000 +0200
+++ linux-2.6.12-rc2-mm2-full/include/asm-parisc/floppy.h 2005-04-10 01:52:13.000000000 +0200
@@ -235,7 +235,7 @@
return 0;
}
-struct fd_routine_l {
+static struct fd_routine_l {
int (*_request_dma)(unsigned int dmanr, const char * device_id);
void (*_free_dma)(unsigned int dmanr);
int (*_get_dma_residue)(unsigned int dummy);
--- linux-2.6.12-rc2-mm2-full/include/asm-sh/floppy.h.old 2005-04-10 01:52:25.000000000 +0200
+++ linux-2.6.12-rc2-mm2-full/include/asm-sh/floppy.h 2005-04-10 01:52:32.000000000 +0200
@@ -227,7 +227,7 @@
return 0;
}
-struct fd_routine_l {
+static struct fd_routine_l {
int (*_request_dma)(unsigned int dmanr, const char * device_id);
void (*_free_dma)(unsigned int dmanr);
int (*_get_dma_residue)(unsigned int dummy);
next reply other threads:[~2005-04-10 18:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-10 18:10 Adrian Bunk [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-05-02 1:47 [2.6 patch] floppy driver: make fd_routine static Adrian Bunk
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=20050410181025.GD4204@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.