} else if (machine_is_spitz()) { 
} else if (machine_is_spitz() || machine_is_akita() || machine_is_borzoi()) { 
int __init init_sharpsl(void){	struct mtd_partition *parts;	int nb_parts = 0;	char *part_type = "static";	printk(KERN_NOTICE "Sharp SL series flash device: %x at %x\n", 		WINDOW_SIZE, WINDOW_ADDR);	sharpsl_map.virt = ioremap(WINDOW_ADDR, WINDOW_SIZE);	if (!sharpsl_map.virt) {		printk("Failed to ioremap\n");		return -EIO;	}	simple_map_init(&sharpsl_map);	mymtd = do_map_probe("map_rom", &sharpsl_map);	if (!mymtd) {		iounmap(sharpsl_map.virt);		return -ENXIO;	}	mymtd->owner = THIS_MODULE;	if (machine_is_corgi() || machine_is_shepherd() || machine_is_husky() 		|| machine_is_poodle()) {		sharpsl_partitions[0].size=0x006d0000;		sharpsl_partitions[0].offset=0x00120000;	} else if (machine_is_tosa()) {		sharpsl_partitions[0].size=0x006a0000;		sharpsl_partitions[0].offset=0x00160000;	} else if (machine_is_spitz()) {		sharpsl_partitions[0].size=0x006b0000;		sharpsl_partitions[0].offset=0x00140000;	} else {		map_destroy(mymtd);		iounmap(sharpsl_map.virt);			return -ENODEV;	}		parts = sharpsl_partitions;	nb_parts = NB_OF(sharpsl_partitions);	printk(KERN_NOTICE "Using %s partision definition\n", part_type);	add_mtd_partitions(mymtd, parts, nb_parts);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/62052d42a5327281fc43fd7bcfb73ac7d36ffc2e/sharpsl-flash.c/clean/drivers/mtd/maps/sharpsl-flash.c