[PATCH OLK-5.10] hisi: l0: update device name from hisi_l0 to hisi_soc_cache_mgmt
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
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/18584 邮件列表地址:https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/O2A... FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/18584 Mailing list address: https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/O2A...
participants (2)
-
patchwork bot -
Wupeng Ma