summaryrefslogtreecommitdiffstats
path: root/include/driver.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:47 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:47 +0200
commite6bd6faf63899dc8f37a6654a84f28ee9669f58a (patch)
treee83e248e4e898f969178788a30bdb1100008a869 /include/driver.h
parent23f4cd5520fda24a436f77ba648c48c05cf83848 (diff)
downloadbarebox-e6bd6faf63899dc8f37a6654a84f28ee9669f58a.tar.gz
barebox-e6bd6faf63899dc8f37a6654a84f28ee9669f58a.tar.xz
svn_rev_366
make pointer const
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 30c6e8e7fd..b7a45ce272 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -79,7 +79,7 @@ struct device_d *get_device_by_id(const char *id);
struct device_d *get_first_device(void);
int get_free_deviceid(char *id, char *id_template);
-struct driver_d *get_driver_by_name(char *name);
+struct driver_d *get_driver_by_name(const char *name);
ssize_t dev_read(struct device_d *dev, void *buf, size_t count, ulong offset, ulong flags);
ssize_t dev_write(struct device_d *dev, const void *buf, size_t count, ulong offset, ulong flags);