Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179658
b: refs/heads/master
c: 322a135
h: refs/heads/master
v: v3
  • Loading branch information
Corentin Chary authored and Len Brown committed Jan 16, 2010
1 parent 1a62b80 commit 9fb5977
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 642e0447cb910ceabae0b4ea6c0cd3449d5c5abb
refs/heads/master: 322a1356be96bcc4b97e8e370f6468c821330077
10 changes: 10 additions & 0 deletions trunk/drivers/platform/x86/eeepc-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ MODULE_AUTHOR("Corentin Chary, Eric Cooper");
MODULE_DESCRIPTION(EEEPC_LAPTOP_NAME);
MODULE_LICENSE("GPL");

static bool hotplug_disabled;

module_param(hotplug_disabled, bool, 0644);
MODULE_PARM_DESC(hotplug_disabled,
"Disable hotplug for wireless device. "
"If your laptop need that, please report to "
"acpi4asus-user@lists.sourceforge.net.");

/*
* Definitions for Asus EeePC
*/
Expand Down Expand Up @@ -1356,6 +1364,8 @@ static int __devinit eeepc_acpi_add(struct acpi_device *device)
strcpy(acpi_device_class(device), EEEPC_ACPI_CLASS);
device->driver_data = eeepc;

eeepc->hotplug_disabled = hotplug_disabled;

eeepc_dmi_check(eeepc);

result = eeepc_acpi_init(eeepc, device);
Expand Down

0 comments on commit 9fb5977

Please sign in to comment.