mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 11:21:26 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
26cf091714
commit
afcba2ced1
@@ -193,7 +193,7 @@ static void gaokun_ucsi_connector_status(struct ucsi_connector *con)
|
||||
gaokun_set_orientation(con, &uec->ports[idx]);
|
||||
}
|
||||
|
||||
const struct ucsi_operations gaokun_ucsi_ops = {
|
||||
static const struct ucsi_operations gaokun_ucsi_ops = {
|
||||
.read_version = gaokun_ucsi_read_version,
|
||||
.read_cci = gaokun_ucsi_read_cci,
|
||||
.poll_cci = gaokun_ucsi_read_cci,
|
||||
|
||||
Reference in New Issue
Block a user