diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-26 03:01:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 03:01:18 -0500 |
commit | 5e4232ee5d7a1d2b2399e9080bf2f1a28444c80b (patch) | |
tree | 6ccf44f9ec57d72cccaffce622e38c73cdb1872f /drivers/net/enic | |
parent | fa4c16da738952882d51b265adbef1d8d329d50f (diff) |
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 <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic')
-rw-r--r-- | drivers/net/enic/vnic_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/enic/vnic_dev.c b/drivers/net/enic/vnic_dev.c index 08a37b01bf37..11708579b6ce 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, | |||
285 | return -ETIMEDOUT; | 285 | return -ETIMEDOUT; |
286 | } | 286 | } |
287 | 287 | ||
288 | int vnic_dev_capable(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd) | 288 | static int vnic_dev_capable(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd) |
289 | { | 289 | { |
290 | u64 a0 = (u32)cmd, a1 = 0; | 290 | u64 a0 = (u32)cmd, a1 = 0; |
291 | int wait = 1000; | 291 | int wait = 1000; |