diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-03-07 11:33:32 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-04-04 19:04:28 +0200 |
commit | 7c68571f77fbc1d2a6ed70dbc9b2c0782d282d43 (patch) | |
tree | 0ad87e1fdc812661a843f935244403f8d1e886b0 /virt | |
parent | pinctrl: mcp23s08: debugfs: remove custom printer (diff) | |
download | linux-7c68571f77fbc1d2a6ed70dbc9b2c0782d282d43.tar.xz linux-7c68571f77fbc1d2a6ed70dbc9b2c0782d282d43.zip |
gpio: omap: avoid clang warning
clang warns about a tentative array definition in the gpio-omap driver:
drivers/gpio/gpio-omap.c:1282:34: error: tentative array definition assumed to have one element [-Werror]
static const struct of_device_id omap_gpio_match[];
It's best to just reorder the entire file to avoid forward declarations,
which lets us use the regular declaration. To do this, the unnecessary
CONFIG_OF check must also be removed.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions