Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109085
b: refs/heads/master
c: 83097ac
h: refs/heads/master
i:
  109083: 8e75153
v: v3
  • Loading branch information
Arjan van de Ven authored and Linus Torvalds committed Aug 24, 2008
1 parent b510e85 commit 980b455
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6450f65168bcf3c03b5fb44c2fe96682c0d3086b
refs/heads/master: 83097aca8567a0bd593534853b71fe0fa9a75d69
5 changes: 5 additions & 0 deletions trunk/drivers/misc/acer-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ static struct quirk_entry *quirks;

static void set_quirks(void)
{
if (!interface)
return;

if (quirks->mailled)
interface->capability |= ACER_CAP_MAILLED;

Expand Down Expand Up @@ -1237,6 +1240,8 @@ static int __init acer_wmi_init(void)
return -ENODEV;
}

set_quirks();

if (platform_driver_register(&acer_platform_driver)) {
printk(ACER_ERR "Unable to register platform driver.\n");
goto error_platform_register;
Expand Down

0 comments on commit 980b455

Please sign in to comment.