Move link doc of printk related modules to README

This commit is contained in:
Ciro Santilli
2018-07-01 20:50:02 +01:00
parent 410b662db2
commit efc37fa5a7
4 changed files with 5 additions and 19 deletions

View File

@@ -1,12 +1,4 @@
/*
Hello world module.
dmesg -c
insmod hello.ko
dmesg -c | grep 'hello init'
rmmod hello.ko
dmesg -c | grep 'hello exit'
*/
/* https://github.com/cirosantilli/linux-kernel-module-cheat#getting-started-natively */
#include <linux/module.h>
#include <linux/kernel.h>