diff options
Diffstat (limited to 'drivers/gpu/drm/gma500')
-rw-r--r-- | drivers/gpu/drm/gma500/backlight.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/opregion.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/gma500/backlight.c b/drivers/gpu/drm/gma500/backlight.c index 143eba3309c5..ea7dfc59d796 100644 --- a/drivers/gpu/drm/gma500/backlight.c +++ b/drivers/gpu/drm/gma500/backlight.c | |||
@@ -26,13 +26,13 @@ | |||
26 | #include "intel_bios.h" | 26 | #include "intel_bios.h" |
27 | #include "power.h" | 27 | #include "power.h" |
28 | 28 | ||
29 | #ifdef CONFIG_BACKLIGHT_CLASS_DEVICE | ||
29 | static void do_gma_backlight_set(struct drm_device *dev) | 30 | static void do_gma_backlight_set(struct drm_device *dev) |
30 | { | 31 | { |
31 | #ifdef CONFIG_BACKLIGHT_CLASS_DEVICE | ||
32 | struct drm_psb_private *dev_priv = dev->dev_private; | 32 | struct drm_psb_private *dev_priv = dev->dev_private; |
33 | backlight_update_status(dev_priv->backlight_device); | 33 | backlight_update_status(dev_priv->backlight_device); |
34 | #endif | ||
35 | } | 34 | } |
35 | #endif | ||
36 | 36 | ||
37 | void gma_backlight_enable(struct drm_device *dev) | 37 | void gma_backlight_enable(struct drm_device *dev) |
38 | { | 38 | { |
diff --git a/drivers/gpu/drm/gma500/opregion.c b/drivers/gpu/drm/gma500/opregion.c index ad0d6de938f3..13ec6283bf59 100644 --- a/drivers/gpu/drm/gma500/opregion.c +++ b/drivers/gpu/drm/gma500/opregion.c | |||
@@ -22,7 +22,6 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | #include <linux/acpi.h> | 24 | #include <linux/acpi.h> |
25 | #include <linux/acpi_io.h> | ||
26 | #include "psb_drv.h" | 25 | #include "psb_drv.h" |
27 | #include "psb_intel_reg.h" | 26 | #include "psb_intel_reg.h" |
28 | 27 | ||