Re: [j.anaszewski-leds:led_naming_v3 13/37] drivers/leds/leds-pwm.c:117:8: error: implicit declaration of function 'devm_of_led_classdev_register'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/6/19 8:53 AM, kbuild test robot wrote:
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git led_naming_v3
head:   874afe7cdd93e3bf618b83f103985a965f4a23a8
commit: 300ff6071d0100653827e393853b9a52013e9804 [13/37] leds: class: Improve LED and LED flash class registration API
config: i386-randconfig-l2-04060621 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
         git checkout 300ff6071d0100653827e393853b9a52013e9804
         # save the attached .config to linux build tree
         make ARCH=i386

All errors (new ones prefixed by >>):

    drivers/leds/leds-pwm.c: In function 'led_pwm_add':
drivers/leds/leds-pwm.c:117:8: error: implicit declaration of function 'devm_of_led_classdev_register' [-Werror=implicit-function-declaration]
      ret = devm_of_led_classdev_register(dev, child, &led_data->cdev);

Strangely I missed leds-pwm uses devm_of_led_classdv_register() too.
Will cover it in v4.

--
Best regards,
Jacek Anaszewski



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux