Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198337
b: refs/heads/master
c: e217e6e
h: refs/heads/master
i:
  198335: c65c4f4
v: v3
  • Loading branch information
Henrik Kretzschmar authored and Linus Torvalds committed May 25, 2010
1 parent 1265684 commit 14ad37c
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: bd9b5caf8616501d2ab6f17210b11f81ea7546eb
refs/heads/master: e217e6e39f62e47f7e659b715235dbd57df480f8
10 changes: 5 additions & 5 deletions trunk/drivers/video/hgafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static DEFINE_SPINLOCK(hga_reg_lock);

/* Framebuffer driver structures */

static struct fb_var_screeninfo __initdata hga_default_var = {
static struct fb_var_screeninfo hga_default_var __devinitdata = {
.xres = 720,
.yres = 348,
.xres_virtual = 720,
Expand All @@ -120,7 +120,7 @@ static struct fb_var_screeninfo __initdata hga_default_var = {
.width = -1,
};

static struct fb_fix_screeninfo __initdata hga_fix = {
static struct fb_fix_screeninfo hga_fix __devinitdata = {
.id = "HGA",
.type = FB_TYPE_PACKED_PIXELS, /* (not sure) */
.visual = FB_VISUAL_MONO10,
Expand Down Expand Up @@ -276,7 +276,7 @@ static void hga_blank(int blank_mode)
spin_unlock_irqrestore(&hga_reg_lock, flags);
}

static int __init hga_card_detect(void)
static int __devinit hga_card_detect(void)
{
int count = 0;
void __iomem *p, *q;
Expand Down Expand Up @@ -596,7 +596,7 @@ static int __devinit hgafb_probe(struct platform_device *pdev)
return 0;
}

static int hgafb_remove(struct platform_device *pdev)
static int __devexit hgafb_remove(struct platform_device *pdev)
{
struct fb_info *info = platform_get_drvdata(pdev);

Expand All @@ -621,7 +621,7 @@ static int hgafb_remove(struct platform_device *pdev)

static struct platform_driver hgafb_driver = {
.probe = hgafb_probe,
.remove = hgafb_remove,
.remove = __devexit_p(hgafb_remove),
.driver = {
.name = "hgafb",
},
Expand Down

0 comments on commit 14ad37c

Please sign in to comment.