|
@@ -383,7 +383,7 @@ acpi_status acpi_sysfs_table_handler(u32 event, void *table, void *context)
|
|
struct acpi_table_attr *table_attr;
|
|
struct acpi_table_attr *table_attr;
|
|
|
|
|
|
switch (event) {
|
|
switch (event) {
|
|
- case ACPI_TABLE_EVENT_LOAD:
|
|
|
|
|
|
+ case ACPI_TABLE_EVENT_INSTALL:
|
|
table_attr =
|
|
table_attr =
|
|
kzalloc(sizeof(struct acpi_table_attr), GFP_KERNEL);
|
|
kzalloc(sizeof(struct acpi_table_attr), GFP_KERNEL);
|
|
if (!table_attr)
|
|
if (!table_attr)
|
|
@@ -397,7 +397,9 @@ acpi_status acpi_sysfs_table_handler(u32 event, void *table, void *context)
|
|
} else
|
|
} else
|
|
list_add_tail(&table_attr->node, &acpi_table_attr_list);
|
|
list_add_tail(&table_attr->node, &acpi_table_attr_list);
|
|
break;
|
|
break;
|
|
|
|
+ case ACPI_TABLE_EVENT_LOAD:
|
|
case ACPI_TABLE_EVENT_UNLOAD:
|
|
case ACPI_TABLE_EVENT_UNLOAD:
|
|
|
|
+ case ACPI_TABLE_EVENT_UNINSTALL:
|
|
/*
|
|
/*
|
|
* we do not need to do anything right now
|
|
* we do not need to do anything right now
|
|
* because the table is not deleted from the
|
|
* because the table is not deleted from the
|