diff options
| author | ririyeye <[email protected]> | 2024-10-22 17:44:23 +0800 |
|---|---|---|
| committer | ririyeye <[email protected]> | 2024-10-22 17:44:23 +0800 |
| commit | fcf649a832c447b22f0ab73a721db1e3503ea2de (patch) | |
| tree | f85454b0e1490f2b8716ce39a0f87b7879e37d11 /xmake/rules/platform/linux/driver/driver_modules.lua | |
| parent | a7aab9dc7e64bd2a211c4d7937a7ffd7d6993a4d (diff) | |
fix linux-driver build err
Diffstat (limited to 'xmake/rules/platform/linux/driver/driver_modules.lua')
| -rw-r--r-- | xmake/rules/platform/linux/driver/driver_modules.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/platform/linux/driver/driver_modules.lua b/xmake/rules/platform/linux/driver/driver_modules.lua index 25acc6581..45ee30c68 100644 --- a/xmake/rules/platform/linux/driver/driver_modules.lua +++ b/xmake/rules/platform/linux/driver/driver_modules.lua @@ -75,12 +75,12 @@ MODULE_AUTHOR("Ruki"); MODULE_DESCRIPTION("A simple Hello World Module"); MODULE_ALIAS("a simplest module"); -int hello_init(void) { +static int hello_init(void) { printk(KERN_INFO "Hello World\n"); return 0; } -void hello_exit(void) { +static void hello_exit(void) { printk(KERN_INFO "Goodbye World\n"); } |
