hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9UDJX -------------------------------- Update device name from hisi_l0 to hisi_soc_cache_mgmt to improve compatibility with subsequent versions. Signed-off-by: Wupeng Ma <mawupeng1@huawei.com> --- drivers/soc/hisilicon/hisi_l0.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/soc/hisilicon/hisi_l0.c b/drivers/soc/hisilicon/hisi_l0.c index 75d63c091a1b..aecd45b47e5e 100644 --- a/drivers/soc/hisilicon/hisi_l0.c +++ b/drivers/soc/hisilicon/hisi_l0.c @@ -183,11 +183,13 @@ static const struct file_operations l0_fops = { static struct miscdevice l0_dev = { .minor = MISC_DYNAMIC_MINOR, - .name = "hisi_l0", + .name = "hisi_soc_cache_mgmt", .fops = &l0_fops, + .mode = 0600, }; module_misc_device(l0_dev); +MODULE_VERSION("1.0"); MODULE_DESCRIPTION("HiSilicon SoC L0 driver"); MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("Ma Wupeng <mawupeng1@huawei.com>"); -- 2.43.0