Lets say I have a function hello_world() defined in the file new.c. I create a module out of this file new.c and another file hello.c. This module will be called as new.ko. The function hello_world() is exported using EXPORT_SYMBOL to another module. My question is can I use the static inline keyword while defining the function hello_world() since it is not being used by another function outside the file new.c in the module new.ko?
Do static and EXPORT_SYMBOL contradict each other? Thanks.