mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

As part of the refactor we require to move the files used in runtime testing to the new directory. This also adds the path to the runtime test context. [YOCTO #10234] (From OE-Core rev: f80c21b46f69c42ff0853bf8abd01cf0c082c346) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
353 B
C
20 lines
353 B
C
#include <linux/module.h>
|
|
#include <linux/kernel.h>
|
|
#include <linux/init.h>
|
|
|
|
static int __init hello_init(void)
|
|
{
|
|
printk(KERN_INFO "Hello world!\n");
|
|
return 0;
|
|
}
|
|
|
|
static void __exit hello_cleanup(void)
|
|
{
|
|
printk(KERN_INFO "Cleaning up hellomod.\n");
|
|
}
|
|
|
|
module_init(hello_init);
|
|
module_exit(hello_cleanup);
|
|
|
|
MODULE_LICENSE("GPL");
|