Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198339
b: refs/heads/master
c: ad14584
h: refs/heads/master
i:
  198337: 14ad37c
  198335: c65c4f4
v: v3
  • Loading branch information
Henrik Kretzschmar authored and Linus Torvalds committed May 25, 2010
1 parent 9d2095a commit a77702a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 3cc04971661e37e7de6fbf9808ede554b5e1cb4e
refs/heads/master: ad1458464cbbe6935be6e20d70920301733158af
10 changes: 5 additions & 5 deletions trunk/drivers/video/vga16fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ struct vga16fb_par {

/* --------------------------------------------------------------------- */

static struct fb_var_screeninfo vga16fb_defined __initdata = {
static struct fb_var_screeninfo vga16fb_defined __devinitdata = {
.xres = 640,
.yres = 480,
.xres_virtual = 640,
Expand All @@ -85,7 +85,7 @@ static struct fb_var_screeninfo vga16fb_defined __initdata = {
};

/* name should not depend on EGA/VGA */
static struct fb_fix_screeninfo vga16fb_fix __initdata = {
static struct fb_fix_screeninfo vga16fb_fix __devinitdata = {
.id = "VGA16 VGA",
.smem_start = VGA_FB_PHYS,
.smem_len = VGA_FB_PHYS_LEN,
Expand Down Expand Up @@ -1287,7 +1287,7 @@ static struct fb_ops vga16fb_ops = {
};

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

Expand Down Expand Up @@ -1393,7 +1393,7 @@ static int __devinit vga16fb_probe(struct platform_device *dev)
return ret;
}

static int vga16fb_remove(struct platform_device *dev)
static int __devexit vga16fb_remove(struct platform_device *dev)
{
struct fb_info *info = platform_get_drvdata(dev);

Expand All @@ -1405,7 +1405,7 @@ static int vga16fb_remove(struct platform_device *dev)

static struct platform_driver vga16fb_driver = {
.probe = vga16fb_probe,
.remove = vga16fb_remove,
.remove = __devexit_p(vga16fb_remove),
.driver = {
.name = "vga16fb",
},
Expand Down

0 comments on commit a77702a

Please sign in to comment.