memcpy(&dev->params,&default_mpeg_params,sizeof(default_mpeg_params)); memcpy(&dev->dnr_params,&default_dnr_params,sizeof(default_dnr_params)); 
static int __devinit blackbird_probe(struct pci_dev *pci_dev,				     const struct pci_device_id *pci_id){	struct cx8802_dev *dev;	struct cx88_core  *core;	int err;	/* general setup */	core = cx88_core_get(pci_dev);	if (NULL == core)		return -EINVAL;	err = -ENODEV;	if (!cx88_boards[core->board].blackbird)		goto fail_core;	err = -ENOMEM;	dev = kmalloc(sizeof(*dev),GFP_KERNEL);	if (NULL == dev)		goto fail_core;	memset(dev,0,sizeof(*dev));	dev->pci = pci_dev;	dev->core = core;	dev->width = 720;	dev->height = 576;	err = cx8802_init_common(dev);	if (0 != err)		goto fail_free;	/* blackbird stuff */	printk("%s/2: cx23416 based mpeg encoder (blackbird reference design)\n",	       core->name);	host_setup(dev->core);	list_add_tail(&dev->devlist,&cx8802_devlist);	blackbird_register_video(dev);	/* initial device configuration: needed ? */	return 0; fail_free:	kfree(dev); fail_core:	cx88_core_put(core,pci_dev);	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/31629424132c87f7c8bd79d7ed4d014354a06427/cx88-blackbird.c/clean/drivers/media/video/cx88/cx88-blackbird.c