powerpc: Add const to bin_attribute structures
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 2 Aug 2017 18:07:38 +0000 (23:37 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 17 Aug 2017 11:56:26 +0000 (21:56 +1000)
commit8bfa42ab84910841336218265fcee94fd1e6285a
tree4af87eb6ac19f66cf8d05a9e08fd09780f8b78e8
parent96c79b6bd74039e8a799e4aa2d331cbd478ab5a1
powerpc: Add const to bin_attribute structures

Declare bin_attribute structures as const as they are only passed as an
argument to the function sysfs_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: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-flash.c
arch/powerpc/sysdev/mv64x60_pci.c