diff options
author | 2019-02-11 12:50:01 -0600 | |
---|---|---|
committer | 2019-02-13 10:39:50 +0100 | |
commit | 5340f23df8fe27a270af3fa1a93cd07293d23dd9 (patch) | |
tree | 44a3b6d9dc23900394943bfca004dd5e77822544 /include | |
parent | gpio: zynq: properly support runtime PM for GPIO used as interrupts (diff) | |
download | linux-dev-5340f23df8fe27a270af3fa1a93cd07293d23dd9.tar.xz linux-dev-5340f23df8fe27a270af3fa1a93cd07293d23dd9.zip |
gpio: sprd: Add missing break in switch statement
Fix the following warning by adding a missing break:
drivers/gpio/gpio-eic-sprd.c: In function ‘sprd_eic_irq_set_type’:
drivers/gpio/gpio-eic-sprd.c:403:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
switch (flow_type) {
^~~~~~
drivers/gpio/gpio-eic-sprd.c:435:2: note: here
default:
^~~~~~~
This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions