netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net-2.6.24: old ax25 driver fix
@ 2007-10-01 18:24 Stephen Hemminger
  2007-10-01 20:45 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2007-10-01 18:24 UTC (permalink / raw)
  To: Andrew Morton, David S. Miller; +Cc: netdev

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net-2.6.24: old ax25 driver fix
  2007-10-01 18:24 [PATCH] net-2.6.24: old ax25 driver fix Stephen Hemminger
@ 2007-10-01 20:45 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2007-10-01 20:45 UTC (permalink / raw)
  To: shemminger; +Cc: akpm, netdev

From: Stephen Hemminger <shemminger@linux-foundation.org>
Date: Mon, 1 Oct 2007 11:24:17 -0700

> Recent change in hard header broke build of these old drivers.
> 
> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>

Applied, thanks Stephen.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-01 20:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-01 18:24 [PATCH] net-2.6.24: old ax25 driver fix Stephen Hemminger
2007-10-01 20:45 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).