[2.6 patch] floppy driver: make fd_routine static

From: Adrian Bunk
Date: Sun Apr 10 2005 - 13:18:32 EST


This patch makes the needlessly global fd_routine static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/