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

Last change on this file since 22 was 22, checked in by phkim, 11 years ago
  1. phkim
  2. newcon3sk 를 kctv 로 브랜치 함
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.