reset_scoop(dev); 
reset_scoop(&pdev->dev); 
int __init scoop_probe(struct platform_device *pdev){	struct scoop_dev *devptr;	struct scoop_config *inf;	struct resource *mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);	if (!mem)		return -EINVAL;	devptr = kmalloc(sizeof(struct scoop_dev), GFP_KERNEL);	if (!devptr)		return  -ENOMEM;	memset(devptr, 0, sizeof(struct scoop_dev));	spin_lock_init(&devptr->scoop_lock);	inf = pdev->dev.platform_data;	devptr->base = ioremap(mem->start, mem->end - mem->start + 1);	if (!devptr->base) {		kfree(devptr);		return -ENOMEM;	}	platform_set_drvdata(pdev, devptr);	printk("Sharp Scoop Device found at 0x%08x -> 0x%08x\n",(unsigned int)mem->start,(unsigned int)devptr->base);	SCOOP_REG(devptr->base, SCOOP_MCR) = 0x0140;	reset_scoop(dev);	SCOOP_REG(devptr->base, SCOOP_GPCR) = inf->io_dir & 0xffff;	SCOOP_REG(devptr->base, SCOOP_GPWR) = inf->io_out & 0xffff;	devptr->suspend_clr = inf->suspend_clr;	devptr->suspend_set = inf->suspend_set;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c35bf4a593631850ab437b37ddcded4e05548e9e/scoop.c/buggy/arch/arm/common/scoop.c