Skip to content

Commit 9a63406

Browse files
committed
of: HACK: disable backlight supplier binding if not needed
This is just to get -edge kernels with DCP and the backlight stuff compiled out working with the same DTs as regular ones, and avoid blocking here. Will go away once the simpledrm backlight stuff goes away when DCP is stable. Signed-off-by: Hector Martin <marcan@marcan.st> H# with '#' will be ignored, and an empty message aborts the commit.
1 parent c716ed4 commit 9a63406

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/of/property.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,9 @@ static const struct supplier_bindings of_supplier_bindings[] = {
13531353
{ .parse_prop = parse_pwms, },
13541354
{ .parse_prop = parse_resets, },
13551355
{ .parse_prop = parse_leds, },
1356+
#ifdef CONFIG_DRM_SIMPLEDRM_BACKLIGHT
13561357
{ .parse_prop = parse_backlight, },
1358+
#endif
13571359
{ .parse_prop = parse_gpio_compat, },
13581360
{ .parse_prop = parse_interrupts, },
13591361
{ .parse_prop = parse_regulators, },

0 commit comments

Comments
 (0)