From e6bd6faf63899dc8f37a6654a84f28ee9669f58a Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 5 Jul 2007 18:01:47 +0200 Subject: [PATCH] svn_rev_366 make pointer const --- include/driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/driver.h b/include/driver.h index 30c6e8e7f..b7a45ce27 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);