Initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* 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");
|
||||
Reference in New Issue
Block a user