diff options
Diffstat (limited to 'drivers/platform/x86/apple-gmux.c')
-rw-r--r-- | drivers/platform/x86/apple-gmux.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/platform/x86/apple-gmux.c b/drivers/platform/x86/apple-gmux.c index 694a15a56230..905fa01ac8df 100644 --- a/drivers/platform/x86/apple-gmux.c +++ b/drivers/platform/x86/apple-gmux.c | |||
@@ -193,7 +193,10 @@ static int __devinit gmux_probe(struct pnp_dev *pnp, | |||
193 | * backlight control and supports more levels than other options. | 193 | * backlight control and supports more levels than other options. |
194 | * Disable the other backlight choices. | 194 | * Disable the other backlight choices. |
195 | */ | 195 | */ |
196 | acpi_video_dmi_promote_vendor(); | ||
197 | #ifdef CONFIG_ACPI_VIDEO | ||
196 | acpi_video_unregister(); | 198 | acpi_video_unregister(); |
199 | #endif | ||
197 | apple_bl_unregister(); | 200 | apple_bl_unregister(); |
198 | 201 | ||
199 | return 0; | 202 | return 0; |
@@ -213,7 +216,10 @@ static void __devexit gmux_remove(struct pnp_dev *pnp) | |||
213 | release_region(gmux_data->iostart, gmux_data->iolen); | 216 | release_region(gmux_data->iostart, gmux_data->iolen); |
214 | kfree(gmux_data); | 217 | kfree(gmux_data); |
215 | 218 | ||
219 | acpi_video_dmi_demote_vendor(); | ||
220 | #ifdef CONFIG_ACPI_VIDEO | ||
216 | acpi_video_register(); | 221 | acpi_video_register(); |
222 | #endif | ||
217 | apple_bl_register(); | 223 | apple_bl_register(); |
218 | } | 224 | } |
219 | 225 | ||