summaryrefslogtreecommitdiff
path: root/nuttx/arch/c5471/src
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-05-09 00:08:54 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-05-09 00:08:54 +0000
commitda889ad22acc0c476b1485b3fd6959825d30240d (patch)
tree5661e6dacbe8ea5d91ea7acba822d0756ce871c4 /nuttx/arch/c5471/src
parentfd897be13dbb8a1206446254a55866c015ed4f48 (diff)
downloadpx4-nuttx-da889ad22acc0c476b1485b3fd6959825d30240d.tar.gz
px4-nuttx-da889ad22acc0c476b1485b3fd6959825d30240d.tar.bz2
px4-nuttx-da889ad22acc0c476b1485b3fd6959825d30240d.zip
Reflect changes due to fs structures
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@211 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/c5471/src')
-rw-r--r--nuttx/arch/c5471/src/up_watchdog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/c5471/src/up_watchdog.c b/nuttx/arch/c5471/src/up_watchdog.c
index 09dd94fff..efa233d4f 100644
--- a/nuttx/arch/c5471/src/up_watchdog.c
+++ b/nuttx/arch/c5471/src/up_watchdog.c
@@ -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;
}