Home
last modified time | relevance | path

Searched refs:parp_drv (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/block/paride/
Dparide.c452 struct parport_driver *parp_drv; in pi_register_driver() local
455 parp_drv = kzalloc(sizeof(*parp_drv), GFP_KERNEL); in pi_register_driver()
456 if (!parp_drv) in pi_register_driver()
459 parp_drv->name = name; in pi_register_driver()
460 parp_drv->probe = pi_probe; in pi_register_driver()
461 parp_drv->devmodel = true; in pi_register_driver()
463 ret = parport_register_driver(parp_drv); in pi_register_driver()
465 kfree(parp_drv); in pi_register_driver()
468 return (void *)parp_drv; in pi_register_driver()