Re: [PATCH] video: fbdev: add const to bin_attribute structures

From: Bartlomiej Zolnierkiewicz
Date: Fri Aug 18 2017 - 13:49:37 EST


On Wednesday, August 02, 2017 10:39:55 PM Bhumika Goyal wrote:
> Add const to bin_attribute structures as they are only passed to the
> functions sysfs_{remove/create}_bin_file or
> device_{remove/create}_bin_file. The corresponding arguments are of
> type const, so declare the structures to be const.
>
> Signed-off-by: Bhumika Goyal <bhumirks@xxxxxxxxx>

Patch queued for 4.14, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics