]> asedeno.scripts.mit.edu Git - linux.git/commit
drivers/fsi: add const to bin_attribute structures
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 2 Aug 2017 14:09:32 +0000 (19:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 15:15:16 +0000 (17:15 +0200)
commit061c0958de2e5994c81991852f5a33ffe9da810a
tree394895bbc71a1a347be264b6fd1ed93753412c3f
parent8f3addf1b451784104ba3593d80702b4815d5a94
drivers/fsi: add const to bin_attribute structures

Declare bin_attribute structures as const as they are only passed as an
argument to the function device_create_bin_file. This argument is of
type const, so declare the structure as const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fsi/fsi-core.c