drm/i915: add const to bin_attribute
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 2 Aug 2017 17:20:47 +0000 (22:50 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 Aug 2017 10:20:09 +0000 (12:20 +0200)
commit59f3da1e0ecb48e28c2ff6ffed4c354997452e77
treeb8bf9c0dd6f3057f8c4edee8f06ba360ae88f6bf
parent09a92bc8773b4314e02b478e003fe5936ce85adb
drm/i915: add const to bin_attribute

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>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1501694447-14356-1-git-send-email-bhumirks@gmail.com
drivers/gpu/drm/i915/i915_sysfs.c