summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/core/Makefile
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>2015-11-25 00:11:48 -0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-12-15 15:41:24 +0200
commit5ec9653806baa5928ee01109004411e3bed376f2 (patch)
tree60d28a5ce677ea7bba199ecff10fece4704df275 /drivers/video/fbdev/core/Makefile
parentc3c296b069dd84264cbaf7a0c4c13783e7508d50 (diff)
downloadop-kernel-dev-5ec9653806baa5928ee01109004411e3bed376f2.zip
op-kernel-dev-5ec9653806baa5928ee01109004411e3bed376f2.tar.gz
fbdev: Make fb-notify a no-op if CONFIG_FB=n
There's no point in having support for framebuffer notifications is CONFIG_FB is disabled. This commit adds the necessary stubs for code to link properly when CONFIG_FB=n and moves fb-notify.o to be built only when CONFIG_FB=y. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/core/Makefile')
-rw-r--r--drivers/video/fbdev/core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/core/Makefile b/drivers/video/fbdev/core/Makefile
index 23d86a8..9e3ddf2 100644
--- a/drivers/video/fbdev/core/Makefile
+++ b/drivers/video/fbdev/core/Makefile
@@ -1,5 +1,5 @@
-obj-y += fb_notify.o
obj-$(CONFIG_FB_CMDLINE) += fb_cmdline.o
+obj-$(CONFIG_FB_NOTIFY) += fb_notify.o
obj-$(CONFIG_FB) += fb.o
fb-y := fbmem.o fbmon.o fbcmap.o fbsysfs.o \
modedb.o fbcvt.o
OpenPOWER on IntegriCloud