[PATCH -next] block/swim3: add __init annotation to module init func

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add missing __init annotation to module init func.

Signed-off-by: ruanjinjie <ruanjinjie@xxxxxxxxxx>
---
 drivers/block/swim3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c
index da811a7da03f..1f65d506fbc9 100644
--- a/drivers/block/swim3.c
+++ b/drivers/block/swim3.c
@@ -1278,7 +1278,7 @@ static struct macio_driver swim3_driver =
 };
 
 
-int swim3_init(void)
+int __init swim3_init(void)
 {
 	macio_register_driver(&swim3_driver);
 	return 0;
-- 
2.25.1




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux