X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fvideo%2Fbacklight%2Fbacklight.c;h=f439a588394ae5b0b62781211b5c46fa06d9322c;hb=d95159cf1b12e8e4b169094b35cbd93b887cb939;hp=27597c576eff3f4cb0a116dee1d682f8ce4f9383;hpb=35a5d9ed9fedb74c22cb19ff7d749289473144e0;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/video/backlight/backlight.c b/drivers/video/backlight/backlight.c index 27597c576eff..f439a588394a 100644 --- a/drivers/video/backlight/backlight.c +++ b/drivers/video/backlight/backlight.c @@ -142,7 +142,7 @@ static struct class backlight_class = { .store = _store, \ } -static struct class_device_attribute bl_class_device_attributes[] = { +static const struct class_device_attribute bl_class_device_attributes[] = { DECLARE_ATTR(power, 0644, backlight_show_power, backlight_store_power), DECLARE_ATTR(brightness, 0644, backlight_show_brightness, backlight_store_brightness),