diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/driver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/driver.h b/include/driver.h index 1b927596b0..13b8bef60d 100644 --- a/include/driver.h +++ b/include/driver.h @@ -112,7 +112,7 @@ struct device_d *get_device_by_path(const char *path); * appending a number to the template. Dynamically created devices should * use this function rather than filling the id field themselves. */ -int get_free_deviceid(char *id, char *id_template); +int get_free_deviceid(char *id, const char *id_template); char *deviceid_from_spec_str(const char *str, char **endp); |