Skip to content
Snippets Groups Projects
Commit 81686eaf authored by patacongo's avatar patacongo
Browse files

Reflect changes to fs structures

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@210 42af7a65-404d-4744-a932-0658087f49c3
parent d005c70e
No related branches found
No related tags found
No related merge requests found
......@@ -365,7 +365,7 @@ int up_wdtinit(void)
/* Register as /dev/wdt */
ret = register_inode("/dev/wdt", &g_wdtops, 0666, NULL);
ret = register_driver("/dev/wdt", &g_wdtops, 0666, NULL);
if (ret)
{
return ERROR;
......@@ -384,7 +384,7 @@ int up_wdtinit(void)
ret = irq_attach(C5471_IRQ_WATCHDOG, wdt_interrupt);
if (ret)
{
unregister_inode("/dev/wdt");
unregister_driver("/dev/wdt");
return ERROR;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment