diff options
| -rw-r--r-- | drivers/acpi/bus.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index cf925c4f36b7..ed9fca0250fa 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c | |||
| @@ -52,6 +52,12 @@ struct proc_dir_entry *acpi_root_dir; | |||
| 52 | EXPORT_SYMBOL(acpi_root_dir); | 52 | EXPORT_SYMBOL(acpi_root_dir); |
| 53 | 53 | ||
| 54 | #ifdef CONFIG_X86 | 54 | #ifdef CONFIG_X86 |
| 55 | #ifdef CONFIG_ACPI_CUSTOM_DSDT | ||
| 56 | static inline int set_copy_dsdt(const struct dmi_system_id *id) | ||
| 57 | { | ||
| 58 | return 0; | ||
| 59 | } | ||
| 60 | #else | ||
| 55 | static int set_copy_dsdt(const struct dmi_system_id *id) | 61 | static int set_copy_dsdt(const struct dmi_system_id *id) |
| 56 | { | 62 | { |
| 57 | printk(KERN_NOTICE "%s detected - " | 63 | printk(KERN_NOTICE "%s detected - " |
| @@ -59,6 +65,7 @@ static int set_copy_dsdt(const struct dmi_system_id *id) | |||
| 59 | acpi_gbl_copy_dsdt_locally = 1; | 65 | acpi_gbl_copy_dsdt_locally = 1; |
| 60 | return 0; | 66 | return 0; |
| 61 | } | 67 | } |
| 68 | #endif | ||
| 62 | 69 | ||
| 63 | static struct dmi_system_id dsdt_dmi_table[] __initdata = { | 70 | static struct dmi_system_id dsdt_dmi_table[] __initdata = { |
| 64 | /* | 71 | /* |
