mirror of
git://projects.qi-hardware.com/nn-usb-fpga.git
synced 2025-03-20 23:58:53 +02:00
18 lines
352 B
C
Executable File
18 lines
352 B
C
Executable File
/* Necessary includes for drivers */
|
|
#include <linux/init.h>
|
|
#include <linux/module.h>
|
|
#include <linux/kernel.h> /* printk() */
|
|
|
|
MODULE_LICENSE("GPL");
|
|
|
|
static int hello_init(void) {
|
|
printk("Hello world!. init\n");
|
|
return 0;
|
|
}
|
|
|
|
static void hello_exit(void) {
|
|
printk("Bye, cruel world. exit\n");
|
|
}
|
|
|
|
module_init(hello_init);
|
|
module_exit(hello_exit) |