Re: [input:next 1215/1216] drivers/tty/vt/keyboard.c:994:2: warning: (near initialization for 'kbd_led_triggers[0].trigger')

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

 



kbuild test robot, le Wed 17 Jun 2015 04:02:55 +0800, a écrit :
>    drivers/tty/vt/keyboard.c:975:20: error: 'struct led_classdev' has no member named 'trigger'
>       container_of(cdev->trigger, struct kbd_led_trigger, trigger);

Right, it doesn't have it when CONFIG_LEDS_TRIGGERS is not defined.
So the condition in keyboard.c should rather be
IS_ENABLED(CONFIG_INPUT_LEDS) && IS_ENABLED(CONFIG_LEDS_TRIGGERS).

Samuel
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux