bus: uniphier-system-bus: fix condition of overlap check
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Fri, 1 Apr 2016 10:32:43 +0000 (19:32 +0900)
committerOlof Johansson <olof@lixom.net>
Tue, 12 Apr 2016 19:31:50 +0000 (12:31 -0700)
commit3de7beebddf8d56dcaa17b41c723d602dd0c513c
tree685c663df5d3b2cfff0df6ebb36d334af1d2059a
parent3137b716568f3ca8ca575fd13b91ddb42abd6844
bus: uniphier-system-bus: fix condition of overlap check

This patch fixes condition whether the specified address ranges
overlap each other.

Fixes: 4b7f48d395a7 ("bus: uniphier-system-bus: add UniPhier System Bus driver")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/bus/uniphier-system-bus.c