pinctrl: rp1: Allow building as a module

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
This commit is contained in:
Phil Elwell
2025-08-19 16:53:36 +01:00
committed by Dom Cobley
parent ebbf49eb4d
commit bd5b025445

View File

@@ -1694,4 +1694,9 @@ static struct platform_driver rp1_pinctrl_driver = {
.suppress_bind_attrs = true,
},
};
builtin_platform_driver(rp1_pinctrl_driver);
module_platform_driver(rp1_pinctrl_driver);
MODULE_AUTHOR("Phil Elwell <phil@raspberrypi.com>");
MODULE_AUTHOR("Andrea della Porta <andrea.porta@suse.com>");
MODULE_DESCRIPTION("RP1 pinctrl/gpio driver");
MODULE_LICENSE("GPL");