]> git.baikalelectronics.ru Git - kernel.git/commit
uml: fix compile error from net_device_ops conversion
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 2 Apr 2009 23:56:49 +0000 (16:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:04:50 +0000 (19:04 -0700)
commit1af895f2e078873f1395fbef10a81d8bf6dae83f
treed6e9a235958c21cdef912d9ed4a2e48befdbc1b4
parent96fa8344401f90a897c5f6070c56b4a1b1ea90b5
uml: fix compile error from net_device_ops conversion

Fix the following compile error:

arch/um/drivers/net_kern.c: In function 'uml_inetaddr_event':
arch/um/drivers/net_kern.c:760: error: 'struct net_device' has no member named 'open'

This was introduced by commit 716f5161, "uml: convert network device
to netdevice ops".

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Jeff Dike <jdike@addtoit.com>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/net_kern.c