Commit aa1d19f1 authored by Takashi Iwai's avatar Takashi Iwai Committed by Greg Kroah-Hartman

fonts: Fix coding style

Fix indentation, spaces, and move EXPORT_SYMBOL line to the
appropriate place as a preliminary work.  No actual code change.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 055ecea0
......@@ -90,7 +90,6 @@ static const struct font_desc *fonts[] = {
* specified font.
*
*/
const struct font_desc *find_font(const char *name)
{
unsigned int i;
......@@ -100,6 +99,7 @@ const struct font_desc *find_font(const char *name)
return fonts[i];
return NULL;
}
EXPORT_SYMBOL(find_font);
/**
......@@ -116,7 +116,6 @@ const struct font_desc *find_font(const char *name)
* chosen font.
*
*/
const struct font_desc *get_default_font(int xres, int yres, u32 font_w,
u32 font_h)
{
......@@ -125,7 +124,7 @@ const struct font_desc *get_default_font(int xres, int yres, u32 font_w,
g = NULL;
cc = -10000;
for(i=0; i<num_fonts; i++) {
for (i = 0; i < num_fonts; i++) {
f = fonts[i];
c = f->pref;
#if defined(__mc68000__)
......@@ -152,8 +151,6 @@ const struct font_desc *get_default_font(int xres, int yres, u32 font_w,
}
return g;
}
EXPORT_SYMBOL(find_font);
EXPORT_SYMBOL(get_default_font);
MODULE_AUTHOR("James Simmons <jsimmons@users.sf.net>");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment