From: Hannes Eder Date: Fri, 26 Dec 2008 08:01:18 +0000 (-0800) Subject: drivers/net/enic: fix sparse warning: make symbol static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5e4232ee5d7a1d2b2399e9080bf2f1a28444c80b;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git drivers/net/enic: fix sparse warning: make symbol static Fix this sparse warning: drivers/net/enic/vnic_dev.c:288:5: warning: symbol 'vnic_dev_capable' was not declared. Should it be static? Signed-off-by: Hannes Eder Signed-off-by: David S. Miller --- diff --git a/drivers/net/enic/vnic_dev.c b/drivers/net/enic/vnic_dev.c index 08a37b01bf3..11708579b6c 100644 --- a/drivers/net/enic/vnic_dev.c +++ b/drivers/net/enic/vnic_dev.c @@ -285,7 +285,7 @@ int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, return -ETIMEDOUT; } -int vnic_dev_capable(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd) +static int vnic_dev_capable(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd) { u64 a0 = (u32)cmd, a1 = 0; int wait = 1000;