Skip to content

Commit 19ccec6

Browse files
lyakhnashif
authored andcommitted
llext: use EXPORT_SYMBOL() universally
Replace LL_EXTENSION_SYMBOL() with EXPORT_SYMBOL() in all tests and samples. Signed-off-by: Guennadi Liakhovetski <[email protected]>
1 parent bd09a5c commit 19ccec6

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

samples/subsys/llext/edk/ext1/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ int start(void)
3131

3232
return 0;
3333
}
34-
LL_EXTENSION_SYMBOL(start);
34+
EXPORT_SYMBOL(start);

samples/subsys/llext/edk/ext2/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ int start(void)
2323

2424
return 0;
2525
}
26-
LL_EXTENSION_SYMBOL(start);
26+
EXPORT_SYMBOL(start);

samples/subsys/llext/edk/ext3/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ int start(void)
6262

6363
return 0;
6464
}
65-
LL_EXTENSION_SYMBOL(start);
65+
EXPORT_SYMBOL(start);

samples/subsys/llext/edk/k-ext1/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ int start(void)
6161

6262
return 0;
6363
}
64-
LL_EXTENSION_SYMBOL(start);
64+
EXPORT_SYMBOL(start);

samples/subsys/llext/modules/src/hello_world_ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ void hello_world(void)
2424
printk("Hello, world, from an llext!\n");
2525
#endif
2626
}
27-
LL_EXTENSION_SYMBOL(hello_world);
27+
EXPORT_SYMBOL(hello_world);

tests/misc/llext-edk/extension/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ int start(int bar)
1414
printk("foo(%d) is %d\n", bar, foo(bar));
1515
return 0;
1616
}
17-
LL_EXTENSION_SYMBOL(start);
17+
EXPORT_SYMBOL(start);

tests/subsys/llext/simple/src/find_section_ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ void test_entry(void)
2222
/* unused */
2323
}
2424

25-
LL_EXTENSION_SYMBOL(number);
25+
EXPORT_SYMBOL(number);

tests/subsys/llext/simple/src/hello_world_ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ void test_entry(void)
2424
printk("A number is %u\n", number);
2525
zassert_equal(number, 42);
2626
}
27-
LL_EXTENSION_SYMBOL(test_entry);
27+
EXPORT_SYMBOL(test_entry);

tests/subsys/llext/simple/src/logging_ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ void test_entry(void)
2323
LOG_INF("hello world");
2424
LOG_INF("A number is %" PRIu32, number);
2525
}
26-
LL_EXTENSION_SYMBOL(test_entry);
26+
EXPORT_SYMBOL(test_entry);

tests/subsys/llext/simple/src/movwmovt_ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ void test_entry(void)
3232
__asm volatile ("blx r0");
3333
zassert_equal(test_var, 1, "mov.w and mov.t test failed");
3434
}
35-
LL_EXTENSION_SYMBOL(test_entry);
35+
EXPORT_SYMBOL(test_entry);

0 commit comments

Comments
 (0)