linux-next: build failure after merge of the leds tree

From: Stephen Rothwell
Date: Wed Jul 24 2019 - 22:31:32 EST


Hi all,

After merging the leds tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/leds/leds-max77650.c: In function 'max77650_led_probe':
drivers/leds/leds-max77650.c:121:8: error: implicit declaration of function 'devm_of_led_classdev_register'; did you mean 'devm_led_classdev_register'? [-Werror=implicit-function-declaration]
rv = devm_of_led_classdev_register(dev, child, &led->cdev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
devm_led_classdev_register

Caused by commit

4eba5b82096e ("leds: class: Improve LED and LED flash class registration API")

interacting with commit

5be102eb161a ("leds: max77650: Add LEDs support")

I have used the leds tree from next-20190724 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpeGIG8Hxyx1.pgp
Description: OpenPGP digital signature