aboutsummaryrefslogtreecommitdiff
path: root/hardinfo/gpu_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo/gpu_util.c')
-rw-r--r--hardinfo/gpu_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo/gpu_util.c b/hardinfo/gpu_util.c
index 34015cb3..bb3e06fd 100644
--- a/hardinfo/gpu_util.c
+++ b/hardinfo/gpu_util.c
@@ -255,7 +255,7 @@ gpud *dt_soc_gpu() {
{ "brcm,bcm2835-vc4", "Broadcom", "VideoCore IV" },
{ "arm,mali-450", "ARM", "Mali 450" },
{ "arm,mali", "ARM", "Mali family" },
- { NULL, NULL }
+ { NULL, NULL, NULL }
};
char tmp_path[256] = "";
char *dt_gpu_path = NULL;
@@ -399,7 +399,7 @@ gpud *gpu_get_device_list() {
/* Try other things ... */
-
+ return list;
}