Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208481
b: refs/heads/master
c: ec81c9c
h: refs/heads/master
i:
  208479: 3b053a3
v: v3
  • Loading branch information
Henrik Kretzschmar authored and Linus Torvalds committed Aug 11, 2010
1 parent 0cd83d8 commit 8cfcc24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: c34f16b70a52e348a62944fe0d5c7c1eb9ad5b72
refs/heads/master: ec81c9cc2f58a3a9f9637c390ea83efe9f91abf7
8 changes: 4 additions & 4 deletions trunk/drivers/video/efifb.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <video/vga.h>

static struct fb_var_screeninfo efifb_defined __initdata = {
static struct fb_var_screeninfo efifb_defined __devinitdata = {
.activate = FB_ACTIVATE_NOW,
.height = -1,
.width = -1,
Expand All @@ -27,7 +27,7 @@ static struct fb_var_screeninfo efifb_defined __initdata = {
.vmode = FB_VMODE_NONINTERLACED,
};

static struct fb_fix_screeninfo efifb_fix __initdata = {
static struct fb_fix_screeninfo efifb_fix __devinitdata = {
.id = "EFI VGA",
.type = FB_TYPE_PACKED_PIXELS,
.accel = FB_ACCEL_NONE,
Expand Down Expand Up @@ -59,7 +59,7 @@ static struct efifb_dmi_info {
int stride;
int width;
int height;
} dmi_list[] = {
} dmi_list[] __initdata = {
[M_I17] = { "i17", 0x80010000, 1472 * 4, 1440, 900 },
[M_I20] = { "i20", 0x80010000, 1728 * 4, 1680, 1050 }, /* guess */
[M_I20_SR] = { "imac7", 0x40010000, 1728 * 4, 1680, 1050 },
Expand All @@ -83,7 +83,7 @@ static int set_system(const struct dmi_system_id *id);
DMI_MATCH(DMI_PRODUCT_NAME, name) }, \
&dmi_list[enumid] }

static struct dmi_system_id __initdata dmi_system_table[] = {
static const struct dmi_system_id dmi_system_table[] __initconst = {
EFIFB_DMI_SYSTEM_ID("Apple Computer, Inc.", "iMac4,1", M_I17),
/* At least one of these two will be right; maybe both? */
EFIFB_DMI_SYSTEM_ID("Apple Computer, Inc.", "iMac5,1", M_I20),
Expand Down

0 comments on commit 8cfcc24

Please sign in to comment.