diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2009-06-10 15:22:49 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2009-06-10 15:22:49 +0000 |
commit | f03bdbf7ffcc65428b9344e6f75cdec2c65c8339 (patch) | |
tree | 9edc06d138a9bb3f36638ba6604f748b50634043 /nuttx/arch/arm/src/c5471 | |
parent | d45918f35cd1d8a4ce0bbda043a486fc4a3678a6 (diff) |
All file_operations vtables should be static const
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1871 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/arm/src/c5471')
-rw-r--r-- | nuttx/arch/arm/src/c5471/c5471_watchdog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/c5471/c5471_watchdog.c b/nuttx/arch/arm/src/c5471/c5471_watchdog.c index 4a17e9b78b..8983b75496 100644 --- a/nuttx/arch/arm/src/c5471/c5471_watchdog.c +++ b/nuttx/arch/arm/src/c5471/c5471_watchdog.c @@ -102,7 +102,7 @@ static int wdt_ioctl(struct file *filep, int cmd, uint32 arg); static boolean g_wdtopen; -struct file_operations g_wdtops = +static const struct file_operations g_wdtops = { .open = wdt_open, .close = wdt_close, |