mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
This commit is contained in:
parent
c3c296b069
commit
5ec9653806
3 changed files with 23 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
menuconfig FB
|
||||
tristate "Support for frame buffer devices"
|
||||
select FB_CMDLINE
|
||||
select FB_NOTIFY
|
||||
---help---
|
||||
The frame buffer device provides an abstraction for the graphics
|
||||
hardware. It represents the frame buffer of some video hardware and
|
||||
|
|
@ -56,6 +57,9 @@ config FIRMWARE_EDID
|
|||
config FB_CMDLINE
|
||||
bool
|
||||
|
||||
config FB_NOTIFY
|
||||
bool
|
||||
|
||||
config FB_DDC
|
||||
tristate
|
||||
depends on FB
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue