Commit 9faaaef2 authored by Pei Xiao's avatar Pei Xiao Committed by Jakub Kicinski
Browse files

net: freescale: ucc_geth: make ugeth_mac_ops be static const



sparse warning:
    sparse: symbol 'ugeth_mac_ops' was not declared. Should it be
static.

Add static to fix sparse warnings and add const. phylink_create() will
accept a const struct.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/202502141128.9HfxcdIE-lkp@intel.com


Signed-off-by: default avatarPei Xiao <xiaopei01@kylinos.cn>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 59ed446b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment