From 9f286218b4644920c97bd44b36c090c6f3110e2d Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 17 Jul 2006 18:55:20 +0200 Subject: Clean up header and remove ignore field in file_struct (as not really needed atm) --- inotail.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/inotail.h b/inotail.h index c2efbe8..882d78d 100644 --- a/inotail.h +++ b/inotail.h @@ -11,24 +11,11 @@ enum { M_LINES, M_BYTES }; struct file_struct { char *name; /* Name of file (or '-' for stdin) */ int fd; /* File descriptor (or -1 if file is not open */ - int ignore:1; /* Ignore file? */ off_t st_size; /* File size */ - int i_watch; /* Inotify watch associated with file_struct */ + int i_watch; /* Inotify watch associated with file_struct */ }; -/* -struct option const long_options[] = { - {"lines", required_argument, NULL, 'n'}, - {"quiet", no_argument, NULL, 'q'}, - {"silent", no_argument, NULL, 'q'}, - {"verbose", no_argument, NULL, 'v'}, - {"help", no_argument, NULL, 'h'}, - {"version", no_argument, NULL, 'V'}, - {NULL, 0, NULL, 0} -}; -*/ - #ifdef DEBUG #define dprintf(fmt, args...) fprintf(stderr, fmt, ##args) #else -- cgit v1.2.3-54-g00ecf aster' selected='selected'>master net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/linux/mfd/db8500-prcmu.h
diff options
context:
space:
mode:
authorMattias Nilsson <mattias.i.nilsson@stericsson.com>2012-01-13 16:21:00 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-03-06 18:46:34 +0100
commitb4a6dbd5b7bad00ee4004443287468abddb96538 (patch)
tree25582b5e364976b6d7ab1c2f9faa031a4fae2a9d /include/linux/mfd/db8500-prcmu.h
parent6f53d10dda1323c17fb09063c4df2c22754bf8aa (diff)
mfd: Add initial db8500 prcmu register access api
This patch adds an initial PRCMU register access API, which for now should only be used for a very limited set of registers. The idea about this API is that we split the PRCMU driver in one part that deals with interaction with the PRCMU firmware and one part that simply provide write accessors in the PRCMU register range. The latter are just a collection of registers exposed in the PRCMU register range for various purposes and not related to the PRCMU firmware. Currently we support some limited GPIO, SPI and UART settings through this API. Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/db8500-prcmu.h')