blob: b68b0c348edef52675dfc53586a169fcdb173437 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001/******************************************************************************
2 *
3 * Copyright (C) 2011 Intel Corporation. All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
12 * the GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 *****************************************************************************/
19
20#include <linux/module.h>
21
Andrew Geissler5199d832021-09-24 16:47:35 -050022static int __init hello_init(void)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023{
24 printk("Hello World!\n");
25 return 0;
26}
27
Andrew Geissler5199d832021-09-24 16:47:35 -050028static void __exit hello_exit(void)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050029{
30 printk("Goodbye Cruel World!\n");
31}
32
Andrew Geissler5199d832021-09-24 16:47:35 -050033module_init(hello_init);
34module_exit(hello_exit);
Patrick Williamsc124f4f2015-09-15 14:41:29 -050035MODULE_LICENSE("GPL");