File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ menuconfig CLK_SIFIVE
10
10
if CLK_SIFIVE
11
11
12
12
config CLK_SIFIVE_PRCI
13
- bool "PRCI driver for SiFive SoCs"
13
+ tristate "PRCI driver for SiFive SoCs"
14
14
default ARCH_SIFIVE
15
15
select RESET_CONTROLLER
16
16
select RESET_SIMPLE
Original file line number Diff line number Diff line change 7
7
#include <linux/clkdev.h>
8
8
#include <linux/delay.h>
9
9
#include <linux/io.h>
10
+ #include <linux/module.h>
10
11
#include <linux/of.h>
11
12
#include "sifive-prci.h"
12
13
#include "fu540-prci.h"
@@ -618,9 +619,8 @@ static struct platform_driver sifive_prci_driver = {
618
619
},
619
620
.probe = sifive_prci_probe ,
620
621
};
622
+ module_platform_driver (sifive_prci_driver );
621
623
622
- static int __init sifive_prci_init (void )
623
- {
624
- return platform_driver_register (& sifive_prci_driver );
625
- }
626
- core_initcall (sifive_prci_init );
624
+ MODULE_AUTHOR (
"Paul Walmsley <[email protected] >" );
625
+ MODULE_DESCRIPTION ("SiFive Power Reset Clock Interface (PRCI) driver" );
626
+ MODULE_LICENSE ("GPL" );
You can’t perform that action at this time.
0 commit comments