summaryrefslogtreecommitdiffstats
path: root/drivers/aiodev/qoriq_thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/aiodev/qoriq_thermal.c')
-rw-r--r--drivers/aiodev/qoriq_thermal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/aiodev/qoriq_thermal.c b/drivers/aiodev/qoriq_thermal.c
index d29da02a68..7556fef025 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;