diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-09 00:08:26 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-09 00:08:26 +0000 |
commit | fd897be13dbb8a1206446254a55866c015ed4f48 (patch) | |
tree | 744b47859f972c0b312405075a3a43f58815aab7 /nuttx/arch/arm/src/c5471/c5471_watchdog.c | |
parent | 5b9f8bcb1766a5ee5cb746582effd570a9c6216d (diff) | |
download | px4-nuttx-fd897be13dbb8a1206446254a55866c015ed4f48.tar.gz px4-nuttx-fd897be13dbb8a1206446254a55866c015ed4f48.tar.bz2 px4-nuttx-fd897be13dbb8a1206446254a55866c015ed4f48.zip |
Reflect changes to fs structures
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@210 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/c5471/c5471_watchdog.c')
-rw-r--r-- | nuttx/arch/arm/src/c5471/c5471_watchdog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/c5471/c5471_watchdog.c b/nuttx/arch/arm/src/c5471/c5471_watchdog.c index 04b390a5c..4a17e9b78 100644 --- a/nuttx/arch/arm/src/c5471/c5471_watchdog.c +++ b/nuttx/arch/arm/src/c5471/c5471_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; } |