summaryrefslogtreecommitdiff
path: root/net/caif/caif_usb.c
diff options
context:
space:
mode:
authorSilviu-Mihai Popescu <silviupopescu1990@gmail.com>2013-03-04 01:09:31 +0400
committerDavid S. Miller <davem@davemloft.net>2013-03-04 23:12:07 +0400
commitd2123be0e55101742dacd6dae60cdd0f1e2ef302 (patch)
tree7c1f5403e952fbec15f3865adf47bad91114ee55 /net/caif/caif_usb.c
parent7dac1b514a00817ddb43704068c14ffd8b8fba19 (diff)
downloadlinux-d2123be0e55101742dacd6dae60cdd0f1e2ef302.tar.xz
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/caif_usb.c')
-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);