diff options
Diffstat (limited to 'Documentation/spi')
-rw-r--r-- | Documentation/spi/spidev_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/spi/spidev_test.c b/Documentation/spi/spidev_test.c index c1a5aad3c75a..10abd3773e49 100644 --- a/Documentation/spi/spidev_test.c +++ b/Documentation/spi/spidev_test.c | |||
@@ -69,7 +69,7 @@ static void transfer(int fd) | |||
69 | puts(""); | 69 | puts(""); |
70 | } | 70 | } |
71 | 71 | ||
72 | void print_usage(const char *prog) | 72 | static void print_usage(const char *prog) |
73 | { | 73 | { |
74 | printf("Usage: %s [-DsbdlHOLC3]\n", prog); | 74 | printf("Usage: %s [-DsbdlHOLC3]\n", prog); |
75 | puts(" -D --device device to use (default /dev/spidev1.1)\n" | 75 | puts(" -D --device device to use (default /dev/spidev1.1)\n" |
@@ -85,7 +85,7 @@ void print_usage(const char *prog) | |||
85 | exit(1); | 85 | exit(1); |
86 | } | 86 | } |
87 | 87 | ||
88 | void parse_opts(int argc, char *argv[]) | 88 | static void parse_opts(int argc, char *argv[]) |
89 | { | 89 | { |
90 | while (1) { | 90 | while (1) { |
91 | static const struct option lopts[] = { | 91 | static const struct option lopts[] = { |