diff options
author | Linus Walleij <[email protected]> | 2022-02-11 23:32:34 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2022-02-12 18:20:03 +0100 |
commit | e1721881ab51821fffe4b76364faf33e1cd7b95a (patch) | |
tree | 8773156e902fc48ef9278d93017a907b2bdc421a /net/lapb/lapb_subr.c | |
parent | c8200f4e7267545a384fb86a4630f76958ab9df6 (diff) |
net: ixp4xx_hss: Check features using syscon
If we access the syscon (expansion bus config registers) using the
syscon regmap instead of relying on direct accessor functions,
we do not need to call this static code in the machine
(arch/arm/mach-ixp4xx/common.c) which makes things less dependent
on custom machine-dependent code.
Look up the syscon regmap and handle the error: this will make
deferred probe work with relation to the syscon.
Select the syscon in Kconfig and depend on OF so we know that
all we need will be available.
Cc: David S. Miller <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Walleij <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions