summaryrefslogtreecommitdiffstats
path: root/drivers/aiodev/imx_thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/aiodev/imx_thermal.c')
-rw-r--r--drivers/aiodev/imx_thermal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/aiodev/imx_thermal.c b/drivers/aiodev/imx_thermal.c
index c020a1091d..9e50708355 100644
--- a/drivers/aiodev/imx_thermal.c
+++ b/drivers/aiodev/imx_thermal.c
@@ -177,6 +177,7 @@ static int imx_thermal_probe(struct device_d *dev)
imx_thermal->aiodev.num_channels = 1;
imx_thermal->aiodev.hwdev = dev;
+ imx_thermal->aiodev.name = "thermal-sensor";
imx_thermal->aiodev.channels =
xmalloc(imx_thermal->aiodev.num_channels *
sizeof(imx_thermal->aiodev.channels[0]));