summaryrefslogtreecommitdiff
path: root/cmd/gpio.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-08-26 17:45:20 -0400
committerTom Rini <trini@konsulko.com>2019-08-26 17:45:20 -0400
commit12277acda0802e4517ca82842c71aae723f0da16 (patch)
tree34a610694fdcee8f19f81337f6658a84210262ee /cmd/gpio.c
parent7a4b0bc5fe70225ae3595ba81d1473c06fd6b83b (diff)
parent44de15d6867c246e7a09ef061d3de56e1799a606 (diff)
Merge branch '2019-08-26-master-imports'
- Assorted minor bugfixes
Diffstat (limited to 'cmd/gpio.c')
-rw-r--r--cmd/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gpio.c b/cmd/gpio.c
index 53366f36e7..eff36ab2af 100644
--- a/cmd/gpio.c
+++ b/cmd/gpio.c
@@ -91,7 +91,7 @@ static int do_gpio_status(bool all, const char *gpio_name)
if (!gpio_name || !bank_name ||
!strncasecmp(gpio_name, bank_name, banklen)) {
- const char *p = NULL;
+ const char *p;
int offset;
p = gpio_name + banklen;