summaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAlexander Lobakin <alobakin@marvell.com>2020-07-20 21:08:02 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-20 17:59:43 -0700
commit1d4e4ecccb114449454592e24ad790e20f397c05 (patch)
tree49c9b719df2ae2b4a0951febdf19e865aa2dd871 /include/linux/debugobjects.h
parentbdb5d8ec47611ca61e168349f233e1dd1ed063f4 (diff)
downloadcachepc-linux-1d4e4ecccb114449454592e24ad790e20f397c05.tar.gz
cachepc-linux-1d4e4ecccb114449454592e24ad790e20f397c05.zip
qede: populate supported link modes maps on module init
Simplify and lighten qede_set_link_ksettings() by declaring static link modes maps and populating them on module init. This way we save plenty of text size at the low expense of __ro_after_init and __initconst data (the latter will be purged after module init is done). Signed-off-by: Alexander Lobakin <alobakin@marvell.com> Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions