fbdev: Make fb-notify a no-op if CONFIG_FB=n
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Wed, 25 Nov 2015 03:11:48 +0000 (00:11 -0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Dec 2015 13:41:24 +0000 (15:41 +0200)
commit5ec9653806baa5928ee01109004411e3bed376f2
tree60d28a5ce677ea7bba199ecff10fece4704df275
parentc3c296b069dd84264cbaf7a0c4c13783e7508d50
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>
drivers/video/fbdev/Kconfig
drivers/video/fbdev/core/Makefile
include/linux/fb.h