Searched hist:"8 bfa42ab" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-flash.c | 8bfa42ab Wed Aug 02 13:07:38 CDT 2017 Bhumika Goyal <bhumirks@gmail.com> 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> 8bfa42ab Wed Aug 02 13:07:38 CDT 2017 Bhumika Goyal <bhumirks@gmail.com> 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>
|