lantiq: Fix ifxos driver on linux 4.1
authorJohn Crispin <blogic@openwrt.org>
Fri, 24 Jul 2015 09:09:02 +0000 (09:09 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 24 Jul 2015 09:09:02 +0000 (09:09 +0000)
commitc9f57b682ff3f6555c66943061a306139eab4121
treea52b11432c6f275a1d3d1b6763619d2ff70ce04f
parent0cfefcf6fa49f1d935e01a72231782823946bec0
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46452 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/kernel/lantiq/ltq-ifxos/patches/100-compat.patch