staging: mt7621-pci: avoid mapping sysctls registers
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sat, 24 Nov 2018 17:54:51 +0000 (18:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2018 19:59:05 +0000 (20:59 +0100)
commitce0c99e22e458ac5ef7bdb14c143894146c8f4f8
treed239b71f9cc7bd56efdd1b1e2451de4e7d9d6ac1
parent64c4c4ca6c129a4191e8e1e91b2d5d9b8d08c518
staging: mt7621-pci: avoid mapping sysctls registers

The sysctl register are already claimed by palmbus, so
pci fails to claim it. The best way to access the sysc registers
is to use rt_sysc_[rwm]32().

Fixes: 89e9f6e6adfc: staging: mt7621-pci: remap and use sysctl from device tree
Reported-by: NeilBrown <neil@brown.name>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Tested-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c