From be8ad5a409ecdbc80d4087eb76746ba15c3a92e2 Mon Sep 17 00:00:00 2001 From: Jeff Dike Date: Wed, 17 Oct 2007 19:35:04 -0700 Subject: [UMP]: header_ops conversion needed for non-ethernet drivers UML's two non-ethernet drivers need some header_ops conversion. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- arch/um/drivers/slirp_kern.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'arch/um/drivers/slirp_kern.c') diff --git a/arch/um/drivers/slirp_kern.c b/arch/um/drivers/slirp_kern.c index 240ee650865..d987af277db 100644 --- a/arch/um/drivers/slirp_kern.c +++ b/arch/um/drivers/slirp_kern.c @@ -34,9 +34,7 @@ void slirp_init(struct net_device *dev, void *data) dev->init = NULL; dev->hard_header_len = 0; - dev->header_cache_update = NULL; - dev->hard_header_cache = NULL; - dev->hard_header = NULL; + dev->header_ops = NULL; dev->addr_len = 0; dev->type = ARPHRD_SLIP; dev->tx_queue_len = 256; -- cgit v1.2.3-70-g09d2