This is a basic incremental change to the hello-mod example provided here:
At runtime, on insertion, I see the following output:
root@board:~# modprobe hello
[ 41.741181] hello: Unknown symbol __class_create (err 0)
[ 41.746530] hello: Unknown symbol class_destroy (err 0)
modprobe: ERROR: could not insert 'hello': Unknown symbol in module, or unknown parameter (see dmesg)
This is on an i.MX8 SOM, provided by KaRo