原创 linux module 傳入參數

1.module中定義參數變量 eg: static int leap;//變量名稱 module_param(leap, int, 0644);//讀寫權限 MODULE_PARM_DESC(leap, “int param!\