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

Stephen Rothwell
2019-07-25T02:31:31Z

[-- Attachment #1: Type: text/plain, Size: 785 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]