diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2009-11-16 07:57:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-17 06:54:02 -0500 |
commit | 1712fe59415faf23a36c38dbacf18efd4ffe94e0 (patch) | |
tree | b26e572182cf76410090299fb3c920bbcd7c9e55 /drivers/net/can | |
parent | 59179ea60c117fe62b80705a12c1e9e919638120 (diff) |
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')
-rw-r--r-- | drivers/net/can/mscan/mscan.c | 3 | ||||
-rw-r--r-- | drivers/net/can/mscan/mscan.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/can/mscan/mscan.c b/drivers/net/can/mscan/mscan.c index ca8b55685ad9..76e413e7fdb1 100644 --- a/drivers/net/can/mscan/mscan.c +++ b/drivers/net/can/mscan/mscan.c | |||
@@ -611,7 +611,6 @@ int register_mscandev(struct net_device *dev, int clock_src) | |||
611 | 611 | ||
612 | return register_candev(dev); | 612 | return register_candev(dev); |
613 | } | 613 | } |
614 | EXPORT_SYMBOL_GPL(register_mscandev); | ||
615 | 614 | ||
616 | void unregister_mscandev(struct net_device *dev) | 615 | void unregister_mscandev(struct net_device *dev) |
617 | { | 616 | { |
@@ -621,7 +620,6 @@ void unregister_mscandev(struct net_device *dev) | |||
621 | clrbits8(®s->canctl1, MSCAN_CANE); | 620 | clrbits8(®s->canctl1, MSCAN_CANE); |
622 | unregister_candev(dev); | 621 | unregister_candev(dev); |
623 | } | 622 | } |
624 | EXPORT_SYMBOL_GPL(unregister_mscandev); | ||
625 | 623 | ||
626 | struct net_device *alloc_mscandev(void) | 624 | struct net_device *alloc_mscandev(void) |
627 | { | 625 | { |
@@ -651,7 +649,6 @@ struct net_device *alloc_mscandev(void) | |||
651 | 649 | ||
652 | return dev; | 650 | return dev; |
653 | } | 651 | } |
654 | EXPORT_SYMBOL_GPL(alloc_mscandev); | ||
655 | 652 | ||
656 | MODULE_AUTHOR("Andrey Volkov <avolkov@varma-el.com>"); | 653 | MODULE_AUTHOR("Andrey Volkov <avolkov@varma-el.com>"); |
657 | MODULE_LICENSE("GPL v2"); | 654 | MODULE_LICENSE("GPL v2"); |
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 { | |||
279 | struct napi_struct napi; | 279 | struct napi_struct napi; |
280 | }; | 280 | }; |
281 | 281 | ||
282 | struct net_device *alloc_mscandev(void); | 282 | extern struct net_device *alloc_mscandev(void); |
283 | /* | 283 | /* |
284 | * clock_src: | 284 | * clock_src: |
285 | * 1 = The MSCAN clock source is the onchip Bus Clock. | 285 | * 1 = The MSCAN clock source is the onchip Bus Clock. |