diff options
Diffstat (limited to 'modules/devices')
-rw-r--r-- | modules/devices/devicetree/dt_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/devices/devicetree/dt_util.c b/modules/devices/devicetree/dt_util.c index 619e63be..5a67005a 100644 --- a/modules/devices/devicetree/dt_util.c +++ b/modules/devices/devicetree/dt_util.c @@ -224,7 +224,7 @@ const char *dtr_find_device_tree_root() { return NULL; } -dtr *dtr_new_x(char *base_path, int fast) { +dtr *dtr_new_x(const char *base_path, int fast) { dtr *dt = malloc(sizeof(dtr)); if (dt != NULL) { memset(dt, 0, sizeof(dtr)); @@ -253,7 +253,7 @@ dtr *dtr_new_x(char *base_path, int fast) { return dt; } -dtr *dtr_new(char *base_path) { +dtr *dtr_new(const char *base_path) { return dtr_new_x(base_path, 0); } |