]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: ucsi: make yoga_c630_ucsi_ops be static
authorPei Xiao <xiaopei01@kylinos.cn>
Fri, 27 Dec 2024 08:54:50 +0000 (16:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Dec 2024 12:06:53 +0000 (13:06 +0100)
commitda31486bf2348078b6542eeed152caca74154bd5
tree7f76b67f9893fcaf3ff46b9ce6e48275c0301f78
parent8a95c9e10ff8b52b78d1268bf20f218479ca1d58
usb: typec: ucsi: make yoga_c630_ucsi_ops be static

sparse warnings:
    drivers/usb/typec/ucsi/ucsi_yoga_c630.c:101:30: sparse: sparse:
    symbol 'yoga_c630_ucsi_ops' was not declared. Should it be static?

Add static to fix sparse warnings.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412102033.J4vZNaaR-lkp@intel.com/
Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Link: https://lore.kernel.org/r/cefe3bc20b2ddaee2a0924ba32243f035e92a025.1735289530.git.xiaopei01@kylinos.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_yoga_c630.c