From: Thadeu Lima de Souza Cascardo Date: Sun, 6 Dec 2009 02:10:34 +0000 (-0200) Subject: Module parameters. X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fkernel%2Fold_slides%2F.git;a=commitdiff_plain;h=8253af99bb5f000450e6d8b2c5c1cdc441eceefa Module parameters. --- diff --git a/01.hello/01.hello.xml b/01.hello/01.hello.xml index b57177a..e529ac6 100644 --- a/01.hello/01.hello.xml +++ b/01.hello/01.hello.xml @@ -122,4 +122,15 @@ MODULE\_ALIAS + +Module parameters + +Besides MODULE\_PARM\_DESC to inform user about the +parameter, we must use module\_param. + + +module_param(name, type, perm); + + +