Skip to content
Commit f3d45ac2 authored by Xiaoming Ni's avatar Xiaoming Ni Committed by Richard Weinberger
Browse files

mtd: phram: Module parameters add writable permissions



The phram code implements managing multiple devices through a linked
list.
However, due to the module parameter permission of 0, the
/sys/module/phram/parameters/phram interface is missing.
The command line arguments in insmod can only create one device.

Therefore, add writable permissions to the module parameters, create
/sys/module/phram/parameters/phram interface, and create multi-device
support.

Signed-off-by: default avatarXiaoming Ni <nixiaoming@huawei.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 97ef08ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment