summaryrefslogtreecommitdiff
path: root/drivers/net/can/mscan/mscan.h
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2009-11-16 15:57:48 +0300
committerDavid S. Miller <davem@davemloft.net>2009-11-17 14:54:02 +0300
commit1712fe59415faf23a36c38dbacf18efd4ffe94e0 (patch)
treeb26e572182cf76410090299fb3c920bbcd7c9e55 /drivers/net/can/mscan/mscan.h
parent59179ea60c117fe62b80705a12c1e9e919638120 (diff)
downloadlinux-1712fe59415faf23a36c38dbacf18efd4ffe94e0.tar.xz
net/can/mscan: fix function annotations
- use extern where apropriate - don't export symbols Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/mscan/mscan.h')
-rw-r--r--drivers/net/can/mscan/mscan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/mscan/mscan.h b/drivers/net/can/mscan/mscan.h
index 76a8abf1c347..20180007fe3d 100644
--- a/drivers/net/can/mscan/mscan.h
+++ b/drivers/net/can/mscan/mscan.h
@@ -279,7 +279,7 @@ struct mscan_priv {
struct napi_struct napi;
};
-struct net_device *alloc_mscandev(void);
+extern struct net_device *alloc_mscandev(void);
/*
* clock_src:
* 1 = The MSCAN clock source is the onchip Bus Clock.