powerpc: add const to bin_attribute structures

Michael Ellerman patch-notifications at ellerman.id.au
Fri Aug 18 22:50:59 AEST 2017


On Wed, 2017-08-02 at 18:07:38 UTC, Bhumika Goyal wrote:
> 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 at gmail.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/8bfa42ab84910841336218265fcee9

cheers


More information about the Linuxppc-dev mailing list