Paul Menage ab420e6d9c UML: Fix some apparent bitrot
UML: Fix some apparent bitrot

- migration of net_device methods into net_device_ops
- dma_sync_single() changes

Signed-off-by: Paul Menage <menage@google.com>
Acked-by: Amerigo Wang <xiyou.wangcong@gmail.com>
--

This version is split from my earlier patch, including just the
portions that ar required for Linus' tree.

Fixes the following compile errors:

include/linux/dma-mapping.h:113: error: redefinition of 'dma_sync_single'
arch/um/include/asm/dma-mapping.h:84: error: previous definition of 'dma_sync_single' was here
include/linux/dma-mapping.h: In function 'dma_sync_single':
include/linux/dma-mapping.h:117: error: implicit declaration of function 'dma_sync_single_for_cpu'
include/linux/dma-mapping.h: At top level:
include/linux/dma-mapping.h:120: error: redefinition of 'dma_sync_sg'
arch/um/include/asm/dma-mapping.h:91: error: previous definition of 'dma_sync_sg' was here
include/linux/dma-mapping.h: In function 'dma_sync_sg':
include/linux/dma-mapping.h:124: error: implicit declaration of function 'dma_sync_sg_for_cpu'

arch/um/drivers/slirp_kern.c: In function 'slirp_init':
arch/um/drivers/slirp_kern.c:35: error: 'struct net_device' has no member named 'init'
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-25 11:22:13 -07:00
..
2008-04-28 08:58:28 -07:00
2008-05-13 08:02:22 -07:00
2007-10-16 09:43:09 -07:00
2007-10-16 09:43:08 -07:00
2008-05-13 08:02:22 -07:00
2008-07-02 15:06:26 -06:00
2008-05-13 08:02:21 -07:00
2007-10-16 09:43:08 -07:00
2008-07-02 15:06:26 -06:00
2008-05-13 08:02:22 -07:00
2007-10-20 01:23:03 +02:00
2008-05-21 16:55:57 -07:00
2009-04-01 08:59:17 -07:00
2008-02-05 09:44:32 -08:00
2009-04-01 08:59:17 -07:00
2008-05-13 08:02:22 -07:00
2008-07-02 15:06:26 -06:00
2009-06-25 11:22:13 -07:00
2006-09-27 08:26:15 -07:00
2009-06-25 11:22:13 -07:00
2008-02-05 09:44:30 -08:00
2006-09-27 08:26:15 -07:00
2008-02-05 09:44:26 -08:00
2009-04-01 08:59:17 -07:00
2007-10-20 01:23:03 +02:00
2009-04-01 08:59:17 -07:00
2008-05-13 08:02:22 -07:00
2008-02-05 09:44:26 -08:00
2007-10-16 09:43:05 -07:00
2007-07-16 09:05:38 -07:00
2008-05-13 08:02:22 -07:00
2009-04-01 08:59:17 -07:00