summaryrefslogtreecommitdiffstats
path: root/include/driver.h
diff options
context:
space:
mode:
authorsascha <sascha@nomad.localdomain>2007-10-19 11:06:32 +0200
committersascha <sascha@nomad.localdomain>2007-10-19 11:06:32 +0200
commit83f101bc30ce98ead9edfed8e5531a4aa4228886 (patch)
tree30d62a120fb5d84765ec67d2b65910320857b285 /include/driver.h
parent003370b63a89cf9430c5fca96349b93553565c65 (diff)
downloadbarebox-83f101bc30ce98ead9edfed8e5531a4aa4228886.tar.gz
barebox-83f101bc30ce98ead9edfed8e5531a4aa4228886.tar.xz
fix compiler warning
Diffstat (limited to 'include/driver.h')
-rw-r--r--include/driver.h2
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);