summaryrefslogtreecommitdiffstats
path: root/drivers/video/Makefile
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2017-08-03 12:36:06 +0200
committerAnatolij Gustschin <agust@denx.de>2017-09-12 13:40:47 +0200
commit08a43cfbc29224dadf1d725e26697c227bf9723a (patch)
tree64bbbc5d37fb57cdaa09e9f8b5514c0bcee27d20 /drivers/video/Makefile
parentc98ac3487e413c71e5d36322ef3324b21c6f60f9 (diff)
downloadu-boot-08a43cfbc29224dadf1d725e26697c227bf9723a.tar.gz
u-boot-08a43cfbc29224dadf1d725e26697c227bf9723a.tar.xz
u-boot-08a43cfbc29224dadf1d725e26697c227bf9723a.zip
dm: backlight: Add CONFIG_BACKLIGHT_PWM
Add a config to select individually the driver for PWM backlights. Manage "depends on" to be backyard compatible. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/video/Makefile')
-rw-r--r--drivers/video/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index 5cf8909295..fc1cd14a51 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -11,9 +11,7 @@ obj-$(CONFIG_DM_VIDEO) += backlight-uclass.o
obj-$(CONFIG_DM_VIDEO) += panel-uclass.o simple_panel.o
obj-$(CONFIG_DM_VIDEO) += video-uclass.o vidconsole-uclass.o
obj-$(CONFIG_DM_VIDEO) += video_bmp.o
-ifdef CONFIG_DM_VIDEO
-obj-$(CONFIG_DM_PWM) += pwm_backlight.o
-endif
+obj-$(CONFIG_BACKLIGHT_PWM) += pwm_backlight.o
obj-$(CONFIG_CONSOLE_NORMAL) += console_normal.o
obj-$(CONFIG_CONSOLE_ROTATION) += console_rotate.o
obj-$(CONFIG_CONSOLE_TRUETYPE) += console_truetype.o fonts/