memset(dev, 0, sizeof(struct superhyway_device)); 
memset(dev, 0, sizeof(struct superhyway_device)); } 
int superhyway_add_device(unsigned int mod_id, unsigned long base,			  unsigned long long vcr){	struct superhyway_device *dev;	dev = kmalloc(sizeof(struct superhyway_device), GFP_KERNEL);	if (!dev)		return -ENOMEM;	memset(dev, 0, sizeof(struct superhyway_device));	dev->id.id = mod_id;	sprintf(dev->name, "SuperHyway device %04x", dev->id.id);	dev->vcr		= *((struct vcr_info *)(&vcr));	dev->resource.name	= dev->name;	dev->resource.start	= base;	dev->resource.end	= dev->resource.start + 0x01000000;	dev->dev.parent		= &superhyway_bus_device;	dev->dev.bus		= &superhyway_bus_type;	dev->dev.release	= superhyway_device_release;	sprintf(dev->dev.bus_id, "%02x", superhyway_devices);	superhyway_devices++;	return device_register(&dev->dev);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/055a2512144cd7e60dcaae7a13e460df43b98787/superhyway.c/buggy/drivers/sh/superhyway/superhyway.c