diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-06-11 01:47:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-29 19:39:44 +0300 |
commit | f08387903d949b760ed2abdde85fe6f45961a392 (patch) | |
tree | b032928019f83328c1b615d329471b07790a1da5 /drivers/misc/cardreader | |
parent | 50bf73bdce8efc57f563297a6c2fedaedefa849e (diff) | |
download | linux-f08387903d949b760ed2abdde85fe6f45961a392.tar.xz |
misc: genwqe: Constify struct pci_error_handlers
genwqe_err_handler is never modified, so it can be made const to allow
the compiler to put it in read-only memory.
Before:
text data bss dec hex filename
20174 6104 2464 28742 7046 drivers/misc/genwqe/card_base.o
After:
text data bss dec hex filename
20270 6008 2464 28742 7046 drivers/misc/genwqe/card_base.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200610224704.27082-3-rikard.falkeborn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/cardreader')
0 files changed, 0 insertions, 0 deletions