diff options
| author | Arvind Yadav <[email protected]> | 2017-06-16 17:32:21 +0530 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2017-06-19 14:03:06 -0400 |
| commit | a5893870f8145b782e42d5ff187ae1dee6f2b650 (patch) | |
| tree | 10e7fd78c5ff094f5532085929e039ed722af139 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 79af3ae6e293855321dcd1a43c73be316fdff1a9 (diff) | |
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 <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions