summaryrefslogtreecommitdiff
path: root/nuttx/drivers/watchdog.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-14 13:31:14 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-14 13:31:14 +0000
commitc9b5df22eb6f361ca4505cfc44058c5fd2970d2f (patch)
tree50b3cbe2b4c9f095885f6bfa4454ff0ac45d8768 /nuttx/drivers/watchdog.c
parent2d21e7c1871fba26eded74e19451c75a53252010 (diff)
downloadpx4-nuttx-c9b5df22eb6f361ca4505cfc44058c5fd2970d2f.tar.gz
px4-nuttx-c9b5df22eb6f361ca4505cfc44058c5fd2970d2f.tar.bz2
px4-nuttx-c9b5df22eb6f361ca4505cfc44058c5fd2970d2f.zip
Kconfig updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4606 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/watchdog.c')
-rw-r--r--nuttx/drivers/watchdog.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/nuttx/drivers/watchdog.c b/nuttx/drivers/watchdog.c
index 52436ac56..2f2f22ce6 100644
--- a/nuttx/drivers/watchdog.c
+++ b/nuttx/drivers/watchdog.c
@@ -97,9 +97,12 @@ struct watchdog_upperhalf_s
static int wdog_open(FAR struct file *filep);
static int wdog_close(FAR struct file *filep);
-static ssize_t wdog_read(FAR struct file *filep, FAR char *buffer, size_t buflen);
-static ssize_t wdog_write(FAR struct file *filep, FAR const char *buffer, size_t buflen);
-static int wdog_ioctl(FAR struct file *filep, int cmd, unsigned long arg);
+static ssize_t wdog_read(FAR struct file *filep, FAR char *buffer,
+ size_t buflen);
+static ssize_t wdog_write(FAR struct file *filep, FAR const char *buffer,
+ size_t buflen);
+static int wdog_ioctl(FAR struct file *filep, int cmd,
+ unsigned long arg);
/****************************************************************************
* Private Data
@@ -111,10 +114,10 @@ static const struct file_operations g_wdogops =
wdog_close, /* close */
wdog_read, /* read */
wdog_write, /* write */
- 0, /* seek */
+ 0, /* seek */
wdog_ioctl /* ioctl */
#ifndef CONFIG_DISABLE_POLL
- , 0 /* poll */
+ , 0 /* poll */
#endif
};