]> git.ipfire.org Git - thirdparty/linux.git/commit
usb: ucsi: huawei_gaokun: make gaokun_ucsi_ops static
authorPengyu Luo <mitltlatltl@gmail.com>
Thu, 5 Mar 2026 14:40:36 +0000 (22:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Mar 2026 14:01:17 +0000 (15:01 +0100)
commitafcba2ced16676c7771d4c2e2ccdb62a8bb33d43
tree361fee994ece8654957e4fda26f8be710db251d2
parent26cf0917142897f052e2966e265917e4593340d5
usb: ucsi: huawei_gaokun: make gaokun_ucsi_ops static

The gaokun_ucsi_ops structure is only used within its translation unit
and is not referenced from any other file. Add the 'static' qualifier
to avoid unnecessary symbol export.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202603050203.KD4RWA00-lkp@intel.com
Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://patch.msgid.link/20260305144054.27848-1-mitltlatltl@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_huawei_gaokun.c