From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Andrew Morton <akpm@linux-foundatio.org>,
"David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: [PATCH] net-2.6.24: old ax25 driver fix
Date: Mon, 1 Oct 2007 11:24:17 -0700 [thread overview]
Message-ID: <20071001112417.10bf522d@oldman> (raw)
Recent change in hard header broke build of these old drivers.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
---
drivers/net/hamradio/dmascc.c | 2 +-
drivers/net/hamradio/scc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/hamradio/dmascc.c b/drivers/net/hamradio/dmascc.c
index b529e23..bc02e46 100644
--- a/drivers/net/hamradio/dmascc.c
+++ b/drivers/net/hamradio/dmascc.c
@@ -581,7 +581,7 @@ static int __init setup_adapter(int card_base, int type, int n)
dev->do_ioctl = scc_ioctl;
dev->hard_start_xmit = scc_send_packet;
dev->get_stats = scc_get_stats;
- dev->header_ops = &ax25_hard_header_ops
+ dev->header_ops = &ax25_header_ops;
dev->set_mac_address = scc_set_mac_address;
}
if (register_netdev(info->dev[0])) {
diff --git a/drivers/net/hamradio/scc.c b/drivers/net/hamradio/scc.c
index 56cc523..353d13e 100644
--- a/drivers/net/hamradio/scc.c
+++ b/drivers/net/hamradio/scc.c
@@ -1551,7 +1551,7 @@ static void scc_net_setup(struct net_device *dev)
dev->stop = scc_net_close;
dev->hard_start_xmit = scc_net_tx;
- dev->header_ops = &ax25_hard_header_ops;
+ dev->header_ops = &ax25_header_ops;
dev->set_mac_address = scc_net_set_mac_address;
dev->get_stats = scc_net_get_stats;
--
1.5.2.5
next reply other threads:[~2007-10-01 18:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-01 18:24 Stephen Hemminger [this message]
2007-10-01 20:45 ` [PATCH] net-2.6.24: old ax25 driver fix David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071001112417.10bf522d@oldman \
--to=shemminger@linux-foundation.org \
--cc=akpm@linux-foundatio.org \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.