diff options
| author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-08-27 00:56:04 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-08-26 16:21:17 -0700 |
| commit | 3ab4519aecb424df8abb1beca8e27d71ac242ab6 (patch) | |
| tree | a23d4a8d222897628e2e17609261f1b3ffa05983 /include/linux/debugobjects.h | |
| parent | 715d08712e9a3fa008ed15cacd39830709962181 (diff) | |
| download | cachepc-linux-3ab4519aecb424df8abb1beca8e27d71ac242ab6.tar.gz cachepc-linux-3ab4519aecb424df8abb1beca8e27d71ac242ab6.zip | |
net: ethernet: ravb: constify bb_ops
The only usage of bb_ops is to assign its address to the ops field in
the mdiobb_ctrl struct, which is a const pointer. Make it const to allow
the compiler to put it in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
