]> git.baikalelectronics.ru Git - kernel.git/commit
arcmsr: add const to bin_attribute structures
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 1 Aug 2017 14:21:14 +0000 (19:51 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Aug 2017 23:40:50 +0000 (19:40 -0400)
commitabada5359d641a80cc4950d9ab4f4381c48f72cf
tree8b86e4a8a45c1fb53843417240c7fb9489f34111
parent69cd080f30054e53f1ac927fdc9c4211d2c90713
arcmsr: add const to bin_attribute structures

Add const to bin_attribute structures as they are only passed to the
functions system_{remove/create}_bin_file. The arguments passed are of
type const, so declare the structures to be const.

Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/arcmsr/arcmsr_attr.c