diff options
author | roel kluin <roel.kluin@gmail.com> | 2008-10-21 19:49:09 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-22 01:31:28 -0400 |
commit | 8bcad30f2e6d4c20f7e71d2e2ac77acc0f0931e5 (patch) | |
tree | 8d8a845e8b76609c31edd7fb2a01306ef2b909e7 /arch/x86/boot/video-bios.c | |
parent | 2515ddc6db8eb49a79f0fe5e67ff09ac7c81eab4 (diff) |
x86: make variables static
These variables are only used in their source files, so make them static.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/boot/video-bios.c')
-rw-r--r-- | arch/x86/boot/video-bios.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/boot/video-bios.c b/arch/x86/boot/video-bios.c index 49f26aaaebc8..3fa979c9c363 100644 --- a/arch/x86/boot/video-bios.c +++ b/arch/x86/boot/video-bios.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "boot.h" | 17 | #include "boot.h" |
18 | #include "video.h" | 18 | #include "video.h" |
19 | 19 | ||
20 | __videocard video_bios; | 20 | static __videocard video_bios; |
21 | 21 | ||
22 | /* Set a conventional BIOS mode */ | 22 | /* Set a conventional BIOS mode */ |
23 | static int set_bios_mode(u8 mode); | 23 | static int set_bios_mode(u8 mode); |
@@ -119,7 +119,7 @@ static int bios_probe(void) | |||
119 | return nmodes; | 119 | return nmodes; |
120 | } | 120 | } |
121 | 121 | ||
122 | __videocard video_bios = | 122 | static __videocard video_bios = |
123 | { | 123 | { |
124 | .card_name = "BIOS", | 124 | .card_name = "BIOS", |
125 | .probe = bios_probe, | 125 | .probe = bios_probe, |