Searched refs:mod_res (Results 1 – 1 of 1) sorted by relevance
108 struct resource *mod_res; in ms02nv_init_one() local120 mod_res = kzalloc(sizeof(*mod_res), GFP_KERNEL); in ms02nv_init_one()121 if (!mod_res) in ms02nv_init_one()124 mod_res->name = ms02nv_name; in ms02nv_init_one()125 mod_res->start = addr; in ms02nv_init_one()126 mod_res->end = addr + MS02NV_SLOT_SIZE - 1; in ms02nv_init_one()127 mod_res->flags = IORESOURCE_MEM | IORESOURCE_BUSY; in ms02nv_init_one()128 if (request_resource(&iomem_resource, mod_res) < 0) in ms02nv_init_one()149 mp->resource.module = mod_res; in ms02nv_init_one()160 request_resource(mod_res, diag_res); in ms02nv_init_one()[all …]