X-Git-Url: http://rtime.felk.cvut.cz/gitweb/linux-lin.git/blobdiff_plain/347c4c260ea453d7801a381e8aef9934e9f02b3e..49dbbd416332c2d82f361d9197332c6f76d8b55b:/sllin/sllin.c diff --git a/sllin/sllin.c b/sllin/sllin.c index b2580f1..ab4a1cc 100644 --- a/sllin/sllin.c +++ b/sllin/sllin.c @@ -101,15 +101,15 @@ MODULE_AUTHOR("Pavel Pisa "); static bool master = true; static int baudrate; /* Use LIN_DEFAULT_BAUDRATE when not set */ -module_param(master, bool, 0); +module_param(master, bool, 0444); MODULE_PARM_DESC(master, "LIN interface is Master device"); -module_param(baudrate, int, 0); +module_param(baudrate, int, 0444); MODULE_PARM_DESC(baudrate, "Baudrate of LIN interface"); static int maxdev = 10; /* MAX number of SLLIN channels; This can be overridden with insmod sllin.ko maxdev=nnn */ -module_param(maxdev, int, 0); +module_param(maxdev, int, 0444); MODULE_PARM_DESC(maxdev, "Maximum number of sllin interfaces"); /* maximum buffer len to store whole LIN message*/