diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-01-11 08:48:59 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-05 16:58:46 -0500 |
commit | 0bf94faf64afaba6e7b49fd11541b59d2ba06d0e (patch) | |
tree | 1bb3d8af111f711622ff8c73869f5b12fcd8bd51 /drivers/net | |
parent | 0d63fb32b2b8c3464d9c1afc3ce3fd3ceec025b6 (diff) |
make hdlc_setup() static again
hdlc_setup was exported, but this export was never used.
If a driver using it actually shows up it can still be exported again.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wan/hdlc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wan/hdlc.c b/drivers/net/wan/hdlc.c index db354e0edbe5..9040d7cf651e 100644 --- a/drivers/net/wan/hdlc.c +++ b/drivers/net/wan/hdlc.c | |||
@@ -222,7 +222,7 @@ int hdlc_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) | |||
222 | return -EINVAL; | 222 | return -EINVAL; |
223 | } | 223 | } |
224 | 224 | ||
225 | void hdlc_setup(struct net_device *dev) | 225 | static void hdlc_setup(struct net_device *dev) |
226 | { | 226 | { |
227 | hdlc_device *hdlc = dev_to_hdlc(dev); | 227 | hdlc_device *hdlc = dev_to_hdlc(dev); |
228 | 228 | ||
@@ -325,7 +325,6 @@ MODULE_LICENSE("GPL v2"); | |||
325 | EXPORT_SYMBOL(hdlc_open); | 325 | EXPORT_SYMBOL(hdlc_open); |
326 | EXPORT_SYMBOL(hdlc_close); | 326 | EXPORT_SYMBOL(hdlc_close); |
327 | EXPORT_SYMBOL(hdlc_ioctl); | 327 | EXPORT_SYMBOL(hdlc_ioctl); |
328 | EXPORT_SYMBOL(hdlc_setup); | ||
329 | EXPORT_SYMBOL(alloc_hdlcdev); | 328 | EXPORT_SYMBOL(alloc_hdlcdev); |
330 | EXPORT_SYMBOL(unregister_hdlc_device); | 329 | EXPORT_SYMBOL(unregister_hdlc_device); |
331 | EXPORT_SYMBOL(register_hdlc_protocol); | 330 | EXPORT_SYMBOL(register_hdlc_protocol); |