Fixes in hello world!
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Thu, 20 May 2010 10:23:57 +0000 (06:23 -0400)
committerThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Thu, 20 May 2010 10:23:57 +0000 (06:23 -0400)
02hello/hello

index 39de8c7..b1e5d6f 100644 (file)
@@ -24,8 +24,8 @@
 
 # Headers
 
-include/linux/module.h
-include/linux/init.h
+* include linux/module.h
+* include linux/init.h
 
 # Init and Exit Functions
 
@@ -49,10 +49,9 @@ something has gone wrong, and some bug reports are ignored some times.
 
 # Building out-of-tree
 
-Building an out-of-tree linux module is very simple:
+Building an out-of-tree linux module is very simple.
 
-FIX_ME
-       $ make -C /lib/modules/`uname -r`/build M=$PWD modules
+Let's take a look at a simple command line and a simple Makefile.
 
 # Module description definitios
 
@@ -68,8 +67,7 @@ FIX_ME
 Besides *MODULE\\_PARM\\_DESC* to inform user about the parameter, we must use
 *module\\_param*.
 
-FIX_ME
-       module_param(name, type, perm);
+module\\_param(name, type, perm);
 
 # Memory allocation