diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-06-16 14:02:21 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-06-19 20:03:06 +0200 |
commit | a5893870f8145b782e42d5ff187ae1dee6f2b650 (patch) | |
tree | 10e7fd78c5ff094f5532085929e039ed722af139 /drivers/ata/libata-scsi.c | |
parent | ata: pata_octeon_cf: make of_device_ids const. (diff) | |
download | linux-a5893870f8145b782e42d5ff187ae1dee6f2b650.tar.xz linux-a5893870f8145b782e42d5ff187ae1dee6f2b650.zip |
ata: sata_rcar: make of_device_ids const.
of_device_ids are not supposed to change at runtime. All functions
working with of_device_ids provided by <linux/of.h> work with const
of_device_ids. So mark the non-const structs as const.
File size before:
text data bss dec hex filename
3946 2296 0 6242 1862 drivers/ata/sata_rcar.o
File size after constify sata_rcar_match.
text data bss dec hex filename
5554 696 0 6250 186a drivers/ata/sata_rcar.o
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
0 files changed, 0 insertions, 0 deletions