Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30311
b: refs/heads/master
c: 1a8c979
h: refs/heads/master
i:
  30309: 8e40ab2
  30307: 16178bf
  30303: 63605b5
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Jun 26, 2006
1 parent 48d69da commit 1b57d63
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 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: 9b27915b6aa33b5fbc17beb8c7d5d0b662419018
refs/heads/master: 1a8c9795290361cef232fd54f425a57d143108a8
26 changes: 13 additions & 13 deletions trunk/drivers/video/aty/atyfb_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,12 +316,12 @@ static int vram;
static int pll;
static int mclk;
static int xclk;
static int comp_sync __initdata = -1;
static int comp_sync __devinitdata = -1;
static char *mode;

#ifdef CONFIG_PPC
static int default_vmode __initdata = VMODE_CHOOSE;
static int default_cmode __initdata = CMODE_CHOOSE;
static int default_vmode __devinitdata = VMODE_CHOOSE;
static int default_cmode __devinitdata = CMODE_CHOOSE;

module_param_named(vmode, default_vmode, int, 0);
MODULE_PARM_DESC(vmode, "int: video mode for mac");
Expand All @@ -330,10 +330,10 @@ MODULE_PARM_DESC(cmode, "int: color mode for mac");
#endif

#ifdef CONFIG_ATARI
static unsigned int mach64_count __initdata = 0;
static unsigned long phys_vmembase[FB_MAX] __initdata = { 0, };
static unsigned long phys_size[FB_MAX] __initdata = { 0, };
static unsigned long phys_guiregbase[FB_MAX] __initdata = { 0, };
static unsigned int mach64_count __devinitdata = 0;
static unsigned long phys_vmembase[FB_MAX] __devinitdata = { 0, };
static unsigned long phys_size[FB_MAX] __devinitdata = { 0, };
static unsigned long phys_guiregbase[FB_MAX] __devinitdata = { 0, };
#endif

/* top -> down is an evolution of mach64 chipset, any corrections? */
Expand Down Expand Up @@ -583,7 +583,7 @@ static u32 atyfb_get_pixclock(struct fb_var_screeninfo *var, struct atyfb_par *p
* Apple monitor sense
*/

static int __init read_aty_sense(const struct atyfb_par *par)
static int __devinit read_aty_sense(const struct atyfb_par *par)
{
int sense, i;

Expand Down Expand Up @@ -2261,7 +2261,7 @@ static void aty_bl_exit(struct atyfb_par *par)

#endif /* CONFIG_FB_ATY_BACKLIGHT */

static void __init aty_calc_mem_refresh(struct atyfb_par *par, int xclk)
static void __devinit aty_calc_mem_refresh(struct atyfb_par *par, int xclk)
{
const int ragepro_tbl[] = {
44, 50, 55, 66, 75, 80, 100
Expand Down Expand Up @@ -2321,7 +2321,7 @@ static int __devinit atyfb_get_timings_from_lcd(struct atyfb_par *par,
}
#endif /* defined(__i386__) && defined(CONFIG_FB_ATY_GENERIC_LCD) */

static int __init aty_init(struct fb_info *info, const char *name)
static int __devinit aty_init(struct fb_info *info, const char *name)
{
struct atyfb_par *par = (struct atyfb_par *) info->par;
const char *ramname = NULL, *xtal;
Expand Down Expand Up @@ -2748,7 +2748,7 @@ static int __init aty_init(struct fb_info *info, const char *name)
}

#ifdef CONFIG_ATARI
static int __init store_video_par(char *video_str, unsigned char m64_num)
static int __devinit store_video_par(char *video_str, unsigned char m64_num)
{
char *p;
unsigned long vmembase, size, guiregbase;
Expand Down Expand Up @@ -3779,7 +3779,7 @@ static struct pci_driver atyfb_driver = {
#endif /* CONFIG_PCI */

#ifndef MODULE
static int __init atyfb_setup(char *options)
static int __devinit atyfb_setup(char *options)
{
char *this_opt;

Expand Down Expand Up @@ -3851,7 +3851,7 @@ static int __init atyfb_setup(char *options)
}
#endif /* MODULE */

static int __init atyfb_init(void)
static int __devinit atyfb_init(void)
{
#ifndef MODULE
char *option = NULL;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/aty/mach64_cursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ static int atyfb_cursor(struct fb_info *info, struct fb_cursor *cursor)
return 0;
}

int __init aty_init_cursor(struct fb_info *info)
int __devinit aty_init_cursor(struct fb_info *info)
{
unsigned long addr;

Expand Down

0 comments on commit 1b57d63

Please sign in to comment.