source: svn/trunk/zas_dstar/hal/os/src/module/hello.c @ 2

Last change on this file since 2 was 2, checked in by phkim, 11 years ago

1.phkim

  1. revision copy newcon3sk r27
File size: 289 bytes
Line 
1#include <linux/init.h>
2#include <linux/module.h>
3#include <linux/kernel.h>
4
5MODULE_LICENSE("Dual BSD/GPL");
6
7
8static int hello_init(void)
9{
10        printk("hello world\n");
11        return 0;
12}
13
14static void hello_exit(void)
15{
16        printk("good bye\n");
17}
18
19module_init(hello_init);
20module_exit(hello_exit);
21
Note: See TracBrowser for help on using the repository browser.