diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-03-07 11:33:32 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-04-05 00:04:28 +0700 |
commit | 7c68571f77fbc1d2a6ed70dbc9b2c0782d282d43 (patch) | |
tree | 0ad87e1fdc812661a843f935244403f8d1e886b0 /scripts/gdb/linux/modules.py | |
parent | 430c1ce304e4e190a89b065aa75d7a0ea725560b (diff) |
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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions