Searched refs:flagadm_map (Results 1 – 1 of 1) sorted by relevance
58 static struct map_info flagadm_map = { variable96 flagadm_map.phys = FLASH_PHYS_ADDR; in init_flagadm()97 flagadm_map.virt = ioremap(FLASH_PHYS_ADDR, in init_flagadm()100 if (!flagadm_map.virt) { in init_flagadm()105 simple_map_init(&flagadm_map); in init_flagadm()107 mymtd = do_map_probe("cfi_probe", &flagadm_map); in init_flagadm()115 iounmap((void __iomem *)flagadm_map.virt); in init_flagadm()125 if (flagadm_map.virt) { in cleanup_flagadm()126 iounmap((void __iomem *)flagadm_map.virt); in cleanup_flagadm()127 flagadm_map.virt = NULL; in cleanup_flagadm()