OSDN Git Service

pcmcia: make pccard_cis_attr const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 30 Sep 2017 16:59:54 +0000 (22:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Oct 2017 08:39:55 +0000 (10:39 +0200)
commitc151206b30466a787fa85564eec43b5b7a4f9175
treeb98a1c5cf7c54e8910dfef211d0bd71b87f423f4
parent846df244ebefbc9f7b91e9ae7a5e5a2e69fb4772
pcmcia: make pccard_cis_attr const

Make this const as it is only passed to the const arguments of the
functions sysfs_remove_bin_file and sysfs_create_bin_file. Make the
declaration const too.

Structure found using Coccinelle and changes done by hand.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pcmcia/cistpl.c
drivers/pcmcia/cs_internal.h