aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-07-14 22:04:49 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-17 17:23:16 +0200
commit7b948f1377322b0b95feee62e307b6889a09e4ea (patch)
tree68d941aa00ea5a07cb7b582943aa88bcd6807f69 /drivers/fpga
parentchar/mwave: make some arrays static const to make object code smaller (diff)
downloadlinux-dev-7b948f1377322b0b95feee62e307b6889a09e4ea.tar.xz
linux-dev-7b948f1377322b0b95feee62e307b6889a09e4ea.zip
auxdisplay: constify charlcd_ops.
charlcd_ops are not supposed to change at runtime. All functions working with charlcd_ops provided by <misc/charlcd.h> work with const charlcd_ops. So mark the non-const structs as const. File size before: text data bss dec hex filename 12750 560 362 13672 3568 drivers/auxdisplay/panel.o File size After adding 'const': text data bss dec hex filename 12942 368 362 13672 3568 drivers/auxdisplay/panel.o Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions