mfd: vexpress-sysreg: Support building as a module
authorRob Herring <robh@kernel.org>
Wed, 29 Apr 2020 20:58:20 +0000 (15:58 -0500)
committerRob Herring <robh@kernel.org>
Wed, 13 May 2020 17:42:45 +0000 (12:42 -0500)
commit7b9d428e05197b589d5b770a791231cf972bd2ed
tree2bced8bb69f66b970f41970dd86c879c791ba139
parent0ea355ef78434ae3e8faffe605c98b62e07d1273
mfd: vexpress-sysreg: Support building as a module

Enable building the vexpress-sysreg driver as a module.

As deferred probe between the vexpress components works now, we don't
need to create struct devices early with of_platform_device_create().

Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/mfd/Kconfig
drivers/mfd/vexpress-sysreg.c