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)
commit598b2eedfc3fbe3eb10e27c41ca5ba6a7c6e3698
treeef726ef48a35ef71ffadf156246763ba985e8338
parent228b3811080e5f6a647f33b54d88f68a9b8eabbf
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