Skip to content

Commit 0a41487

Browse files
committed
pinctrl: rp1: Allow building as a module
Signed-off-by: Phil Elwell <[email protected]>
1 parent 62d2f04 commit 0a41487

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

drivers/pinctrl/pinctrl-rp1.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,4 +1694,9 @@ static struct platform_driver rp1_pinctrl_driver = {
16941694
.suppress_bind_attrs = true,
16951695
},
16961696
};
1697-
builtin_platform_driver(rp1_pinctrl_driver);
1697+
module_platform_driver(rp1_pinctrl_driver);
1698+
1699+
MODULE_AUTHOR("Phil Elwell <[email protected]>");
1700+
MODULE_AUTHOR("Andrea della Porta <[email protected]>");
1701+
MODULE_DESCRIPTION("RP1 pinctrl/gpio driver");
1702+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)