aboutsummaryrefslogtreecommitdiff
path: root/drivers/uio
diff options
context:
space:
mode:
authorArnd Bergmann2019-03-07 11:33:32 +0100
committerLinus Walleij2019-04-05 00:04:28 +0700
commit7c68571f77fbc1d2a6ed70dbc9b2c0782d282d43 (patch)
tree0ad87e1fdc812661a843f935244403f8d1e886b0 /drivers/uio
parent430c1ce304e4e190a89b065aa75d7a0ea725560b (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 'drivers/uio')
0 files changed, 0 insertions, 0 deletions