mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
UPSTREAM: firmware: arm_scmi: Add names to scmi devices created
Now that scmi bus provides option to create named scmi device, let us create the default devices with names. This will help to add names for matching to respective drivers and eventually to add multiple devices and drivers per protocol. Reviewed-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> (cherry picked from commit9c5c463f2a) Conflicts: drivers/firmware/arm_scmi/driver.c Add missing reset devname. Fixes:b430ea6fd1("UPSTREAM: firmware: arm_scmi: Add names to scmi devices created") Change-Id: I2ba7edb8b3e6483e2a8d6ce3a33dce41d432c7b5 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -655,6 +655,7 @@ static struct scmi_prot_devnames devnames[] = {
|
||||
{ SCMI_PROTOCOL_PERF, { "cpufreq" },},
|
||||
{ SCMI_PROTOCOL_CLOCK, { "clocks" },},
|
||||
{ SCMI_PROTOCOL_SENSOR, { "hwmon" },},
|
||||
{ SCMI_PROTOCOL_RESET, { "reset" },},
|
||||
};
|
||||
|
||||
static inline void
|
||||
|
||||
Reference in New Issue
Block a user