summaryrefslogtreecommitdiffstats
path: root/hw/fsp/fsp-sensor.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/fsp/fsp-sensor.c')
-rw-r--r--hw/fsp/fsp-sensor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/fsp/fsp-sensor.c b/hw/fsp/fsp-sensor.c
index 51ee8724..0fa31156 100644
--- a/hw/fsp/fsp-sensor.c
+++ b/hw/fsp/fsp-sensor.c
@@ -617,7 +617,7 @@ static struct dt_node *sensor_get_node(struct dt_node *sensors,
}
#define sensor_handler(header, attr_num) \
- sensor_make_handler((header).frc, (header).rid, attr_num)
+ sensor_make_handler(SENSOR_FSP, (header).frc, (header).rid, attr_num)
static int add_sensor_prs(struct dt_node *sensors, struct sensor_prs *prs)
{
OpenPOWER on IntegriCloud