lkml.org 
[lkml]   [2005]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] floppy driver: make fd_routine static
This patch makes the needlessly global fd_routine static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 10 Apr 2005

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-02 04:00    [W:0.017 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site