viodev->dev.parent = &vio_bus_device->dev; 
viodev->dev.parent = &vio_bus_device.dev; 
static struct vio_dev * __devinit vio_register_device_common(		struct vio_dev *viodev, char *name, char *type,		uint32_t unit_address, struct iommu_table *iommu_table){	DBGENTER();	viodev->name = name;	viodev->type = type;	viodev->unit_address = unit_address;	viodev->iommu_table = iommu_table;	/* init generic 'struct device' fields: */	viodev->dev.parent = &vio_bus_device->dev;	viodev->dev.bus = &vio_bus_type;	viodev->dev.release = vio_dev_release;	/* register with generic device framework */	if (device_register(&viodev->dev)) {		printk(KERN_ERR "%s: failed to register device %s\n",				__FUNCTION__, viodev->dev.bus_id);		return NULL;	}	device_create_file(&viodev->dev, &dev_attr_name);	return viodev;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/ac5b33c9bcf1c05ae949b026a51d7f8f9573591c/vio.c/buggy/arch/ppc64/kernel/vio.c