diff options
author | Krzysztof Halasa <khc@pm.waw.pl> | 2006-06-22 22:20:19 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-06-22 23:32:03 -0400 |
commit | 4a31e348e3ecaf54c50240109ac4574b180f8840 (patch) | |
tree | 319978d90b95c7f1d4bf1fdfc552dc8850f330e7 /include/linux/hdlc.h | |
parent | aa95abefccc25efea5c8654bc3475e8161319b94 (diff) | |
download | kernel_samsung_espresso10-4a31e348e3ecaf54c50240109ac4574b180f8840.zip kernel_samsung_espresso10-4a31e348e3ecaf54c50240109ac4574b180f8840.tar.gz kernel_samsung_espresso10-4a31e348e3ecaf54c50240109ac4574b180f8840.tar.bz2 |
[PATCH] WAN: register_hdlc_device() doesn't need dev_alloc_name()
David Boggs noticed that register_hdlc_device() no longer needs
to call dev_alloc_name() as it's called by register_netdev().
register_hdlc_device() is currently equivalent to register_netdev().
hdlc_setup() is now EXPORTed as per David's request.
Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/hdlc.h')
-rw-r--r-- | include/linux/hdlc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hdlc.h b/include/linux/hdlc.h index df695e9a..4513f9e 100644 --- a/include/linux/hdlc.h +++ b/include/linux/hdlc.h @@ -188,7 +188,7 @@ int hdlc_x25_ioctl(struct net_device *dev, struct ifreq *ifr); int hdlc_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); /* Must be used by hardware driver on module startup/exit */ -int register_hdlc_device(struct net_device *dev); +#define register_hdlc_device(dev) register_netdev(dev) void unregister_hdlc_device(struct net_device *dev); struct net_device *alloc_hdlcdev(void *priv); |