1
0
mirror of git://projects.qi-hardware.com/nn-usb-fpga.git synced 2025-03-21 12:28:53 +02:00

18 lines
352 B
C
Raw Permalink Normal View History

/* 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)