]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: add const to bin_attribute structures
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 18 Aug 2017 17:56:40 +0000 (19:56 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 18 Aug 2017 17:56:40 +0000 (19:56 +0200)
commit7f36e675cd3b129b21f37f93b1cbc203e76f1ce0
treeef726ef48a35ef71ffadf156246763ba985e8338
parentc55321ae341cb1b5438dfc18936bba65f90983aa
video: fbdev: add const to bin_attribute structures

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@gmail.com>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/aty/radeon_base.c
drivers/video/fbdev/udlfb.c