regulator: userspace-consumer: add module device table
authorJohn Keeping <jkeeping@inmusicbrands.com>
Mon, 26 Feb 2024 16:05:53 +0000 (16:05 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 26 Feb 2024 18:30:24 +0000 (18:30 +0000)
commit531a0c0cdbff9cecf41073220a826f8b1132f9ab
tree2d056b973d4666d8848033dd422fbdcd68fbc7b1
parentefe9a6da2292e68d45cd9e0eb1c31b85841d0c2a
regulator: userspace-consumer: add module device table

The userspace consumer can be built as a module but it cannot be
automatically probed as there is no device table to match it up with
device tree nodes.

Add the missing macro so that the module can load automatically.

Fixes: 5c51d4afcf3fd ("regulator: userspace-consumer: Handle regulator-output DT nodes")
Signed-off-by: John Keeping <jkeeping@inmusicbrands.com>
Link: https://msgid.link/r/20240226160554.1453283-1-jkeeping@inmusicbrands.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/userspace-consumer.c