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)
commit44c73a2fd284d5685cac3a0043cab6a19f0e0fbc
treed1afecc5e37eec1de493bc1201d227215ccf12d0
parent8c8a558591e6ec8a5b53069bd92b45d424352b5f
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