Skip to content
Commit 781a54e7 authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Richard Purdie
Browse files

leds: mark led_classdev.default_trigger as const



LED classdev core doesn't modify memory pointed by the default_trigger,
so mark it as const and we'll able to pass const char *s without getting
compiler warnings.

Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
parent e49575f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment