Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297017
b: refs/heads/master
c: c55d995
h: refs/heads/master
i:
  297015: 7207a7b
v: v3
  • Loading branch information
Corentin Chary authored and Matthew Garrett committed Mar 26, 2012
1 parent 2549292 commit bb7d00e
Show file tree
Hide file tree
Showing 2 changed files with 9 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: fb05b9f53fa9131ae86eb8cc4fda20e943a86e36
refs/heads/master: c55d995dd3cebffdeb2b7eff8acc813c56d62c97
13 changes: 8 additions & 5 deletions trunk/drivers/platform/x86/eeepc-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ MODULE_LICENSE("GPL");

MODULE_ALIAS("wmi:"EEEPC_WMI_EVENT_GUID);

static struct quirk_entry *quirks;
static bool hotplug_wireless;

module_param(hotplug_wireless, bool, 0444);
Expand Down Expand Up @@ -108,6 +107,8 @@ static struct quirk_entry quirk_asus_et2012_type3 = {
.store_backlight_power = true,
};

static struct quirk_entry *quirks;

static int dmi_matched(const struct dmi_system_id *dmi)
{
char *model;
Expand Down Expand Up @@ -209,12 +210,14 @@ static int eeepc_wmi_probe(struct platform_device *pdev)

static void eeepc_wmi_quirks(struct asus_wmi_driver *driver)
{
driver->panel_power = FB_BLANK_UNBLANK;
driver->quirks = &quirk_asus_unknown;
driver->quirks->hotplug_wireless = hotplug_wireless;
driver->quirks->wapf = -1;
quirks = &quirk_asus_unknown;
quirks->hotplug_wireless = hotplug_wireless;

dmi_check_system(asus_quirks);

driver->quirks = quirks;
driver->quirks->wapf = -1;
driver->panel_power = FB_BLANK_UNBLANK;
}

static struct asus_wmi_driver asus_wmi_driver = {
Expand Down

0 comments on commit bb7d00e

Please sign in to comment.