summaryrefslogtreecommitdiffstats
path: root/net/caif
diff options
context:
space:
mode:
authorSilviu-Mihai Popescu <silviupopescu1990@gmail.com>2013-03-03 21:09:31 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-04 14:12:07 -0500
commitd2123be0e55101742dacd6dae60cdd0f1e2ef302 (patch)
tree7c1f5403e952fbec15f3865adf47bad91114ee55 /net/caif
parent7dac1b514a00817ddb43704068c14ffd8b8fba19 (diff)
downloadlinux-d2123be0e55101742dacd6dae60cdd0f1e2ef302.tar.gz
linux-d2123be0e55101742dacd6dae60cdd0f1e2ef302.tar.bz2
linux-d2123be0e55101742dacd6dae60cdd0f1e2ef302.zip
CAIF: fix sparse warning for caif_usb
This fixes the following sparse warning: net/caif/caif_usb.c:84:16: warning: symbol 'cfusbl_create' was not declared. Should it be static? Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif')
-rw-r--r--net/caif/caif_usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/caif/caif_usb.c b/net/caif/caif_usb.c
index 3ebc8cbc91ff..ef8ebaa993cf 100644
--- a/net/caif/caif_usb.c
+++ b/net/caif/caif_usb.c
@@ -81,8 +81,8 @@ static void cfusbl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
layr->up->ctrlcmd(layr->up, ctrl, layr->id);
}
-struct cflayer *cfusbl_create(int phyid, u8 ethaddr[ETH_ALEN],
- u8 braddr[ETH_ALEN])
+static struct cflayer *cfusbl_create(int phyid, u8 ethaddr[ETH_ALEN],
+ u8 braddr[ETH_ALEN])
{
struct cfusbl *this = kmalloc(sizeof(struct cfusbl), GFP_ATOMIC);