ia64/linux-2.6.18-xen.hg

diff drivers/xen/netback/common.h @ 820:8b86d11a6eb3

netback: parent sysfs device should be set before registering.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 17 14:21:51 2009 +0000 (2009-03-17)
parents db9857bb0320
children
line diff
     1.1 --- a/drivers/xen/netback/common.h	Fri Mar 13 10:08:22 2009 +0000
     1.2 +++ b/drivers/xen/netback/common.h	Tue Mar 17 14:21:51 2009 +0000
     1.3 @@ -182,7 +182,7 @@ void netif_accel_init(void);
     1.4  
     1.5  void netif_disconnect(netif_t *netif);
     1.6  
     1.7 -netif_t *netif_alloc(domid_t domid, unsigned int handle);
     1.8 +netif_t *netif_alloc(struct device *parent, domid_t domid, unsigned int handle);
     1.9  int netif_map(netif_t *netif, unsigned long tx_ring_ref,
    1.10  	      unsigned long rx_ring_ref, unsigned int evtchn);
    1.11