1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00
Files
Richard Purdie b5200793c2 meta-skeleton/hello-mod: Switch to SPDX-License-Identifier
(From OE-Core rev: bb43462b0fcd510582c4c6f1081bb2f3f0c63843)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-12 11:46:26 +01:00

25 lines
534 B
C

/******************************************************************************
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: GPL-2.0-only
*
*****************************************************************************/
#include <linux/module.h>
static int __init hello_init(void)
{
pr_info("Hello World!\n");
return 0;
}
static void __exit hello_exit(void)
{
pr_info("Goodbye Cruel World!\n");
}
module_init(hello_init);
module_exit(hello_exit);
MODULE_LICENSE("GPL");