Home
last modified time | relevance | path

Searched refs:g_hidog_miscdev (Results 1 - 1 of 1) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/wtdg/
H A Dhi_wtdg.c312 static struct osal_dev *g_hidog_miscdev = NULL; variable
414 g_hidog_miscdev = osal_createdev("watchdog"); in watchdog_init()
415 if (g_hidog_miscdev == NULL) { in watchdog_init()
420 g_hidog_miscdev->minor = WATCHDOG_MINOR; in watchdog_init()
421 g_hidog_miscdev->fops = &g_hidog_fops; in watchdog_init()
422 if (osal_registerdevice(g_hidog_miscdev) != 0) { in watchdog_init()
437 osal_deregisterdevice(g_hidog_miscdev); in watchdog_init()
439 osal_destroydev(g_hidog_miscdev); in watchdog_init()
482 osal_deregisterdevice(g_hidog_miscdev); in watchdog_exit()
483 osal_destroydev(g_hidog_miscdev); in watchdog_exit()
[all...]

Completed in 2 milliseconds