Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57749
b: refs/heads/master
c: 48a7d5c
h: refs/heads/master
i:
  57747: 08cf9bb
v: v3
  • Loading branch information
Helge Deller authored and Kyle McMartin committed May 27, 2007
1 parent b836500 commit a3480c3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 649f0edd8b8ec0c0344fc36dd3f1c0add4497dc8
refs/heads/master: 48a7d5c66b3cecc40364d62cfd54c502c0979561
50 changes: 25 additions & 25 deletions trunk/drivers/video/console/sticore.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ static void sti_flush(unsigned long from, unsigned long len)
flush_icache_range(from, from+len);
}

void __init
void __devinit
sti_rom_copy(unsigned long base, unsigned long count, void *dest)
{
unsigned long dest_len = count;
Expand Down Expand Up @@ -269,7 +269,7 @@ sti_rom_copy(unsigned long base, unsigned long count, void *dest)
static char default_sti_path[21] __read_mostly;

#ifndef MODULE
static int __init sti_setup(char *str)
static int __devinit sti_setup(char *str)
{
if (str)
strlcpy (default_sti_path, str, sizeof (default_sti_path));
Expand All @@ -288,12 +288,12 @@ __setup("sti=", sti_setup);



static char __initdata *font_name[MAX_STI_ROMS] = { "VGA8x16", };
static int __initdata font_index[MAX_STI_ROMS],
font_height[MAX_STI_ROMS],
font_width[MAX_STI_ROMS];
static char __devinitdata *font_name[MAX_STI_ROMS] = { "VGA8x16", };
static int __devinitdata font_index[MAX_STI_ROMS],
font_height[MAX_STI_ROMS],
font_width[MAX_STI_ROMS];
#ifndef MODULE
static int __init sti_font_setup(char *str)
static int __devinit sti_font_setup(char *str)
{
char *x;
int i = 0;
Expand Down Expand Up @@ -346,7 +346,7 @@ __setup("sti_font=", sti_font_setup);



static void __init
static void __devinit
sti_dump_globcfg(struct sti_glob_cfg *glob_cfg, unsigned int sti_mem_request)
{
struct sti_glob_cfg_ext *cfg;
Expand Down Expand Up @@ -386,7 +386,7 @@ sti_dump_globcfg(struct sti_glob_cfg *glob_cfg, unsigned int sti_mem_request)
cfg->sti_mem_addr, sti_mem_request));
}

static void __init
static void __devinit
sti_dump_outptr(struct sti_struct *sti)
{
DPRINTK((KERN_INFO
Expand All @@ -400,7 +400,7 @@ sti_dump_outptr(struct sti_struct *sti)
sti->outptr.attributes));
}

static int __init
static int __devinit
sti_init_glob_cfg(struct sti_struct *sti,
unsigned long rom_address, unsigned long hpa)
{
Expand Down Expand Up @@ -482,7 +482,7 @@ sti_init_glob_cfg(struct sti_struct *sti,
}

#ifdef CONFIG_FB
struct sti_cooked_font * __init
struct sti_cooked_font * __devinit
sti_select_fbfont(struct sti_cooked_rom *cooked_rom, const char *fbfont_name)
{
const struct font_desc *fbfont;
Expand Down Expand Up @@ -538,14 +538,14 @@ sti_select_fbfont(struct sti_cooked_rom *cooked_rom, const char *fbfont_name)
return cooked_font;
}
#else
struct sti_cooked_font * __init
struct sti_cooked_font * __devinit
sti_select_fbfont(struct sti_cooked_rom *cooked_rom, const char *fbfont_name)
{
return NULL;
}
#endif

struct sti_cooked_font * __init
struct sti_cooked_font * __devinit
sti_select_font(struct sti_cooked_rom *rom,
int (*search_font_fnc) (struct sti_cooked_rom *,int,int) )
{
Expand All @@ -572,7 +572,7 @@ sti_select_font(struct sti_cooked_rom *rom,
}


static void __init
static void __devinit
sti_dump_rom(struct sti_rom *rom)
{
printk(KERN_INFO " id %04x-%04x, conforms to spec rev. %d.%02x\n",
Expand All @@ -590,7 +590,7 @@ sti_dump_rom(struct sti_rom *rom)
}


static int __init
static int __devinit
sti_cook_fonts(struct sti_cooked_rom *cooked_rom,
struct sti_rom *raw_rom)
{
Expand Down Expand Up @@ -625,7 +625,7 @@ sti_cook_fonts(struct sti_cooked_rom *cooked_rom,
}


static int __init
static int __devinit
sti_search_font(struct sti_cooked_rom *rom, int height, int width)
{
struct sti_cooked_font *font;
Expand All @@ -642,7 +642,7 @@ sti_search_font(struct sti_cooked_rom *rom, int height, int width)
#define BMODE_RELOCATE(offset) offset = (offset) / 4;
#define BMODE_LAST_ADDR_OFFS 0x50

static void * __init
static void * __devinit
sti_bmode_font_raw(struct sti_cooked_font *f)
{
unsigned char *n, *p, *q;
Expand All @@ -660,7 +660,7 @@ sti_bmode_font_raw(struct sti_cooked_font *f)
return n + 3;
}

static void __init
static void __devinit
sti_bmode_rom_copy(unsigned long base, unsigned long count, void *dest)
{
unsigned long dest_len = count;
Expand All @@ -675,7 +675,7 @@ sti_bmode_rom_copy(unsigned long base, unsigned long count, void *dest)
sti_flush(dest_start, dest_len);
}

static struct sti_rom * __init
static struct sti_rom * __devinit
sti_get_bmode_rom (unsigned long address)
{
struct sti_rom *raw;
Expand Down Expand Up @@ -711,7 +711,7 @@ sti_get_bmode_rom (unsigned long address)
return raw;
}

struct sti_rom * __init
struct sti_rom * __devinit
sti_get_wmode_rom (unsigned long address)
{
struct sti_rom *raw;
Expand All @@ -727,7 +727,7 @@ sti_get_wmode_rom (unsigned long address)
return raw;
}

int __init
int __devinit
sti_read_rom(int wordmode, struct sti_struct *sti, unsigned long address)
{
struct sti_cooked_rom *cooked;
Expand Down Expand Up @@ -783,7 +783,7 @@ sti_read_rom(int wordmode, struct sti_struct *sti, unsigned long address)
return 0;
}

static struct sti_struct * __init
static struct sti_struct * __devinit
sti_try_rom_generic(unsigned long address, unsigned long hpa, struct pci_dev *pd)
{
struct sti_struct *sti;
Expand Down Expand Up @@ -898,7 +898,7 @@ sti_try_rom_generic(unsigned long address, unsigned long hpa, struct pci_dev *pd
return NULL;
}

static void __init sticore_check_for_default_sti(struct sti_struct *sti, char *path)
static void __devinit sticore_check_for_default_sti(struct sti_struct *sti, char *path)
{
if (strcmp (path, default_sti_path) == 0)
default_sti = sti;
Expand All @@ -909,7 +909,7 @@ static void __init sticore_check_for_default_sti(struct sti_struct *sti, char *p
* in the additional address field addr[1] while on
* older Systems the PDC stores it in page0->proc_sti
*/
static int __init sticore_pa_init(struct parisc_device *dev)
static int __devinit sticore_pa_init(struct parisc_device *dev)
{
char pa_path[21];
struct sti_struct *sti = NULL;
Expand Down Expand Up @@ -1015,7 +1015,7 @@ static struct parisc_driver pa_sti_driver = {

static int sticore_initialized __read_mostly;

static void __init sti_init_roms(void)
static void __devinit sti_init_roms(void)
{
if (sticore_initialized)
return;
Expand Down

0 comments on commit a3480c3

Please sign in to comment.