reset: microchip-sparx5: allow building as a module
authorClément Léger <clement.leger@bootlin.com>
Fri, 17 Jun 2022 10:37:30 +0000 (12:37 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 29 Jun 2022 13:41:43 +0000 (15:41 +0200)
commitb6b9585876da018bdde2d5f15d206a689c0d70f3
treeb540727b2435683fec5596020e7786bdf626c8b5
parentf2906aa863381afb0015a9eb7fefad885d4e5a56
reset: microchip-sparx5: allow building as a module

Set RESET_MCHP_SPARX5 as a tristate and add MODULE_DEVICE_TABLE() to
allow building this driver as a module.

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20220617103730.490588-1-clement.leger@bootlin.com
drivers/reset/Kconfig
drivers/reset/reset-microchip-sparx5.c