Commit 1712fe59 authored by Wolfram Sang's avatar Wolfram Sang Committed by David S. Miller

net/can/mscan: fix function annotations

- use extern where apropriate
- don't export symbols
Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 59179ea6
...@@ -611,7 +611,6 @@ int register_mscandev(struct net_device *dev, int clock_src) ...@@ -611,7 +611,6 @@ int register_mscandev(struct net_device *dev, int clock_src)
return register_candev(dev); return register_candev(dev);
} }
EXPORT_SYMBOL_GPL(register_mscandev);
void unregister_mscandev(struct net_device *dev) void unregister_mscandev(struct net_device *dev)
{ {
...@@ -621,7 +620,6 @@ void unregister_mscandev(struct net_device *dev) ...@@ -621,7 +620,6 @@ void unregister_mscandev(struct net_device *dev)
clrbits8(&regs->canctl1, MSCAN_CANE); clrbits8(&regs->canctl1, MSCAN_CANE);
unregister_candev(dev); unregister_candev(dev);
} }
EXPORT_SYMBOL_GPL(unregister_mscandev);
struct net_device *alloc_mscandev(void) struct net_device *alloc_mscandev(void)
{ {
...@@ -651,7 +649,6 @@ struct net_device *alloc_mscandev(void) ...@@ -651,7 +649,6 @@ struct net_device *alloc_mscandev(void)
return dev; return dev;
} }
EXPORT_SYMBOL_GPL(alloc_mscandev);
MODULE_AUTHOR("Andrey Volkov <avolkov@varma-el.com>"); MODULE_AUTHOR("Andrey Volkov <avolkov@varma-el.com>");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
......
...@@ -279,7 +279,7 @@ struct mscan_priv { ...@@ -279,7 +279,7 @@ struct mscan_priv {
struct napi_struct napi; struct napi_struct napi;
}; };
struct net_device *alloc_mscandev(void); extern struct net_device *alloc_mscandev(void);
/* /*
* clock_src: * clock_src:
* 1 = The MSCAN clock source is the onchip Bus Clock. * 1 = The MSCAN clock source is the onchip Bus Clock.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment