Re: [PATCH] drm/i915: add const to bin_attribute

2017-08-03 Thread Daniel Vetter
On Wed, Aug 02, 2017 at 10:50:47PM +0530, 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 con

[PATCH] drm/i915: add const to bin_attribute

2017-08-02 Thread Bhumika Goyal
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 --- drivers/gpu/drm/i915/i915_sysfs