Skip to content
Commit 81bca32f authored by Linus Walleij's avatar Linus Walleij
Browse files

ARM: ixp4xx: Turn the QMGR into a platform device



Instead of registering everything related to the QMGR
unconditionally in the module_init() call (which will
never work with multiplatform) create a platform device
and probe the QMGR like any other device.

Put the device second in the list of devices added for
the platform so it is there when the dependent network
and crypto drivers probe later on.

This probe() path will not be taken unconditionally on
device tree boots, so remove the DT guard.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent bc4d7eaf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment