Signed-off-by: Andrey Smirnov <andrew.smir...@gmail.com>
---
 drivers/aiodev/qoriq_thermal.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/aiodev/qoriq_thermal.c b/drivers/aiodev/qoriq_thermal.c
index d29da02a6..7556fef02 100644
--- a/drivers/aiodev/qoriq_thermal.c
+++ b/drivers/aiodev/qoriq_thermal.c
@@ -232,6 +232,7 @@ static int qoriq_tmu_probe(struct device_d *dev)
 
        data->aiodev.num_channels = 1;
        data->aiodev.hwdev = dev;
+       data->aiodev.name = "thermal-sensor";
        data->aiodev.channels = xmalloc(data->aiodev.num_channels *
                                        sizeof(data->aiodev.channels[0]));
        data->aiodev.channels[0] = &data->aiochan;
-- 
2.17.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to