firmware: arm_ffa: Replace SCMI by FF-A in the macro
JIRA: https://issues.redhat.com/browse/RHEL-102691 commit 1ed14652dc324d676f4a93643f3526738ea18214 Author: Sudeep Holla <sudeep.holla@arm.com> Date: Mon, 17 Feb 2025 15:38:42 +0000 Commit 22779149e93d ("firmware: arm_ffa: Emit modalias for FF-A devices") added modalias for FF-A devices. However the macro added used SCMI incorrectly. Replace the reference to SCMI by FF-A and update the macro. (i.e. s/SCMI/FFA/) No functional change. Tested-by: Viresh Kumar <viresh.kumar@linaro.org> Message-Id: <20250217-ffa_updates-v3-1-bd1d9de615e7@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
This commit is contained in:
parent
1f51a61f15
commit
22229a2f84
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include "common.h"
|
||||
|
||||
#define SCMI_UEVENT_MODALIAS_FMT "arm_ffa:%04x:%pUb"
|
||||
#define FFA_UEVENT_MODALIAS_FMT "arm_ffa:%04x:%pUb"
|
||||
|
||||
static DEFINE_IDA(ffa_bus_id);
|
||||
|
||||
|
@ -68,7 +68,7 @@ static int ffa_device_uevent(const struct device *dev, struct kobj_uevent_env *e
|
|||
{
|
||||
const struct ffa_device *ffa_dev = to_ffa_dev(dev);
|
||||
|
||||
return add_uevent_var(env, "MODALIAS=" SCMI_UEVENT_MODALIAS_FMT,
|
||||
return add_uevent_var(env, "MODALIAS=" FFA_UEVENT_MODALIAS_FMT,
|
||||
ffa_dev->vm_id, &ffa_dev->uuid);
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,7 @@ static ssize_t modalias_show(struct device *dev,
|
|||
{
|
||||
struct ffa_device *ffa_dev = to_ffa_dev(dev);
|
||||
|
||||
return sysfs_emit(buf, SCMI_UEVENT_MODALIAS_FMT, ffa_dev->vm_id,
|
||||
return sysfs_emit(buf, FFA_UEVENT_MODALIAS_FMT, ffa_dev->vm_id,
|
||||
&ffa_dev->uuid);
|
||||
}
|
||||
static DEVICE_ATTR_RO(modalias);
|
||||
|
|
Loading…
Reference in New Issue