diff options
| -rw-r--r-- | drivers/platform/x86/eeepc-laptop.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index 07d7978c558f..a959abdea3a7 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c | |||
| @@ -50,6 +50,14 @@ MODULE_AUTHOR("Corentin Chary, Eric Cooper"); | |||
| 50 | MODULE_DESCRIPTION(EEEPC_LAPTOP_NAME); | 50 | MODULE_DESCRIPTION(EEEPC_LAPTOP_NAME); |
| 51 | MODULE_LICENSE("GPL"); | 51 | MODULE_LICENSE("GPL"); |
| 52 | 52 | ||
| 53 | static bool hotplug_disabled; | ||
| 54 | |||
| 55 | module_param(hotplug_disabled, bool, 0644); | ||
| 56 | MODULE_PARM_DESC(hotplug_disabled, | ||
| 57 | "Disable hotplug for wireless device. " | ||
| 58 | "If your laptop need that, please report to " | ||
| 59 | "acpi4asus-user@lists.sourceforge.net."); | ||
| 60 | |||
| 53 | /* | 61 | /* |
| 54 | * Definitions for Asus EeePC | 62 | * Definitions for Asus EeePC |
| 55 | */ | 63 | */ |
| @@ -1356,6 +1364,8 @@ static int __devinit eeepc_acpi_add(struct acpi_device *device) | |||
| 1356 | strcpy(acpi_device_class(device), EEEPC_ACPI_CLASS); | 1364 | strcpy(acpi_device_class(device), EEEPC_ACPI_CLASS); |
| 1357 | device->driver_data = eeepc; | 1365 | device->driver_data = eeepc; |
| 1358 | 1366 | ||
| 1367 | eeepc->hotplug_disabled = hotplug_disabled; | ||
| 1368 | |||
| 1359 | eeepc_dmi_check(eeepc); | 1369 | eeepc_dmi_check(eeepc); |
| 1360 | 1370 | ||
| 1361 | result = eeepc_acpi_init(eeepc, device); | 1371 | result = eeepc_acpi_init(eeepc, device); |
