summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/Makefile
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-07-26 01:12:47 +0200
committerBen Skeggs <bskeggs@redhat.com>2012-10-03 05:12:58 +0200
commit51a3d3425663698a79e8a9d01998a8a32ddee13b (patch)
tree631abadec9c864cb46b441bdc46cbb444ccd972d /drivers/gpu/drm/nouveau/Makefile
parentdrm/nouveau: flatten nv{Read,Write}{MC,VIDEO,FB,EXTDEV} (diff)
downloadlinux-51a3d3425663698a79e8a9d01998a8a32ddee13b.tar.xz
linux-51a3d3425663698a79e8a9d01998a8a32ddee13b.zip
drm/nouveau/backlight: remove dependence on nouveau_drv.h
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/Makefile')
-rw-r--r--drivers/gpu/drm/nouveau/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/Makefile b/drivers/gpu/drm/nouveau/Makefile
index a333c95d8bd6..72f1a1c2e56f 100644
--- a/drivers/gpu/drm/nouveau/Makefile
+++ b/drivers/gpu/drm/nouveau/Makefile
@@ -170,6 +170,7 @@ nouveau-y += nv50_fbcon.o nvc0_fbcon.o
# other random bits
nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
nouveau-$(CONFIG_ACPI) += nouveau_acpi.o
+nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o
##
## unported bits below
@@ -201,8 +202,4 @@ nouveau-y += nouveau_pm.o nouveau_volt.o nouveau_perf.o nouveau_temp.o
nouveau-y += nv04_pm.o nv40_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o
nouveau-y += nouveau_mem.o
-# optional stuff
-nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o
-
-
obj-$(CONFIG_DRM_NOUVEAU)+= nouveau.o