]> git.baikalelectronics.ru Git - kernel.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)
commit24da9630b5fe8d566bf2403cee00b7014ee04845
tree394895bbc71a1a347be264b6fd1ed93753412c3f
parent12c72b30460e0c70bd353367d32d4f5c3eb121e7
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