mirror of
https://github.com/tsukumijima/px4_drv.git
synced 2025-07-23 04:03:01 +02:00
Compare commits
2 Commits
5ac1fca737
...
b4a6f9a9f5
Author | SHA1 | Date | |
---|---|---|---|
|
b4a6f9a9f5 | ||
|
fe259b52b7 |
@@ -17,7 +17,7 @@
|
||||
#include "firmware.h"
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,15,4)
|
||||
static int m_init(void)
|
||||
static int __init m_init(void)
|
||||
#else
|
||||
int init_module(void)
|
||||
#endif
|
||||
@@ -53,7 +53,7 @@ int init_module(void)
|
||||
}
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,15,4)
|
||||
static void m_cleanup(void)
|
||||
static void __exit m_cleanup(void)
|
||||
#else
|
||||
void cleanup_module(void)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user