OSDN Git Service

ptp_kvm: Make kvm_ptp_lock static
authorYueHaibing <yuehaibing@huawei.com>
Sat, 18 Apr 2020 01:51:54 +0000 (09:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 18:02:56 +0000 (11:02 -0700)
commit0673f976285e0570437612329962c339300d013e
treea35081f4ca6076c60c12da94c571bec5a354e6a6
parent135e30180ff4f654794960aba04785fe7eef2e90
ptp_kvm: Make kvm_ptp_lock static

Fix sparse warning:

drivers/ptp/ptp_kvm.c:25:1: warning:
 symbol 'kvm_ptp_lock' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_kvm.c