summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/Makefile
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-05-11 11:29:41 +0100
committerDave Airlie <airlied@redhat.com>2012-05-11 17:35:46 +0100
commita373bedd7e70c1932f3f37d6858f437b69ef01c6 (patch)
tree59c4532640d84a8da89c6cb8b95cfe67fb68e985 /drivers/gpu/drm/gma500/Makefile
parentd3029b4e0358e8d3519a290d7e61686ad7e58830 (diff)
downloadlinux-a373bedd7e70c1932f3f37d6858f437b69ef01c6.tar.bz2
gma500: Fix build without ACPI
Reported-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/Makefile')
-rw-r--r--drivers/gpu/drm/gma500/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/Makefile b/drivers/gpu/drm/gma500/Makefile
index dd7d6b57996f..abfa2a93f0d0 100644
--- a/drivers/gpu/drm/gma500/Makefile
+++ b/drivers/gpu/drm/gma500/Makefile
@@ -13,7 +13,6 @@ gma500_gfx-y += gem_glue.o \
intel_i2c.o \
intel_gmbus.o \
mmu.o \
- opregion.o \
power.o \
psb_drv.o \
psb_intel_display.o \
@@ -25,6 +24,8 @@ gma500_gfx-y += gem_glue.o \
psb_device.o \
mid_bios.o
+gma500_gfx-$(CONFIG_ACPI) += opregion.o \
+
gma500_gfx-$(CONFIG_DRM_GMA3600) += cdv_device.o \
cdv_intel_crt.o \
cdv_intel_display.o \