|
Last change
on this file since 66 was
66,
checked in by megakiss, 11 years ago
|
|
키패드 기능 연결
전원키 누르고 리모콘 누르면 학습
CH+ 간격 1초 증가 MAX:15
CH- 간격 1초 감소 MIN :1
|
|
File size:
289 bytes
|
| Line | |
|---|
| 1 | #include <linux/init.h> |
|---|
| 2 | #include <linux/module.h> |
|---|
| 3 | #include <linux/kernel.h> |
|---|
| 4 | |
|---|
| 5 | MODULE_LICENSE("Dual BSD/GPL"); |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | static int hello_init(void) |
|---|
| 9 | { |
|---|
| 10 | printk("hello world\n"); |
|---|
| 11 | return 0; |
|---|
| 12 | } |
|---|
| 13 | |
|---|
| 14 | static void hello_exit(void) |
|---|
| 15 | { |
|---|
| 16 | printk("good bye\n"); |
|---|
| 17 | } |
|---|
| 18 | |
|---|
| 19 | module_init(hello_init); |
|---|
| 20 | module_exit(hello_exit); |
|---|
| 21 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.