diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2016-05-17 13:29:01 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2016-05-17 13:29:01 +1000 |
commit | 48529864f06522dd1a0123e9da3945f70de86cf1 (patch) | |
tree | 9b0a010d9cf24624278c8cd7c4ffe8f7882bd365 /tools | |
parent | 220686eeaa3bce1815ab762d95d75e85a3bd5b73 (diff) | |
parent | d30a2b47d4c2b75573d93f60655d48ba8e3ed2b3 (diff) |
Merge remote-tracking branch 'gpio/for-next'
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gpio/Makefile | 2 | ||||
-rw-r--r-- | tools/gpio/lsgpio.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/gpio/Makefile b/tools/gpio/Makefile index 4d198d5c4203..c155d6bc47a7 100644 --- a/tools/gpio/Makefile +++ b/tools/gpio/Makefile @@ -1,5 +1,5 @@ CC = $(CROSS_COMPILE)gcc -CFLAGS += -Wall -g -D_GNU_SOURCE +CFLAGS += -O2 -Wall -g -D_GNU_SOURCE all: lsgpio diff --git a/tools/gpio/lsgpio.c b/tools/gpio/lsgpio.c index 1124da375942..eb3f56efd215 100644 --- a/tools/gpio/lsgpio.c +++ b/tools/gpio/lsgpio.c @@ -147,7 +147,7 @@ void print_usage(void) int main(int argc, char **argv) { - const char *device_name; + const char *device_name = NULL; int ret; int c; |