]> err.no Git - linux-2.6/commit
leds: mark led_classdev.default_trigger as const
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Sat, 31 May 2008 14:23:19 +0000 (15:23 +0100)
committerRichard Purdie <rpurdie@rpsys.net>
Wed, 23 Jul 2008 08:49:56 +0000 (09:49 +0100)
commit781a54e7664cc0089287a90d27086e9656ac68a1
tree527eef6f0207c11acb56cdfffadb68da1c7ee1c6
parente49575f46cdb40014e14789a18e637f8fb917317
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: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
include/linux/leds.h