diff options
author | Krzysztof Halasa <khc@pm.waw.pl> | 2008-02-02 00:37:12 +0300 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-05 21:31:39 +0300 |
commit | 40d25142f2ef27084fc317ac8bb5bae460c8ea72 (patch) | |
tree | 400145d4607b8db1151c7379cb60fdc050210dc9 /drivers/net/wan/hdlc_raw.c | |
parent | 983e23041b28abb113862b2935a85cfb9aab4f5a (diff) | |
download | linux-40d25142f2ef27084fc317ac8bb5bae460c8ea72.tar.xz |
Generic HDLC - remove now unneeded hdlc_device_desc
Removes now unneeded struct hdlc_device_desc
Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/wan/hdlc_raw.c')
-rw-r--r-- | drivers/net/wan/hdlc_raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/hdlc_raw.c b/drivers/net/wan/hdlc_raw.c index e23bc6656267..bbbb819d764c 100644 --- a/drivers/net/wan/hdlc_raw.c +++ b/drivers/net/wan/hdlc_raw.c @@ -82,7 +82,7 @@ static int raw_ioctl(struct net_device *dev, struct ifreq *ifr) if (result) return result; - result = attach_hdlc_protocol(dev, &proto, NULL, + result = attach_hdlc_protocol(dev, &proto, sizeof(raw_hdlc_proto)); if (result) return result; |