lantiq: Fix ifxos driver on linux 4.1
authorJohn Crispin <john@openwrt.org>
Fri, 24 Jul 2015 09:09:02 +0000 (09:09 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 24 Jul 2015 09:09:02 +0000 (09:09 +0000)
commit2cf455665d1425b38235e7e7a214679fbb2a2995
treea52b11432c6f275a1d3d1b6763619d2ff70ce04f
parent0bf01461b08874e54f64a535d3d5a03dfb2c8707
lantiq: Fix ifxos driver on linux 4.1

request_mem_region returns NULL when requesting the region failed, and
a valid pointer when it was successful. Currently the condition is
inverted.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46452
package/kernel/lantiq/ltq-ifxos/patches/100-compat.patch