aboutsummaryrefslogtreecommitdiff
path: root/device/dev_hdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/dev_hdr.h')
-rw-r--r--device/dev_hdr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/device/dev_hdr.h b/device/dev_hdr.h
index 56e0d825..ac6ce7e1 100644
--- a/device/dev_hdr.h
+++ b/device/dev_hdr.h
@@ -107,7 +107,7 @@ typedef struct mach_device *mach_device_t;
/*
* To find and remove device entries
*/
-mach_device_t device_lookup(char *); /* by name */
+mach_device_t device_lookup(const char *); /* by name */
void mach_device_reference(mach_device_t);
void mach_device_deallocate(mach_device_t);
@@ -136,7 +136,7 @@ boolean_t dev_map(dev_map_fn, mach_port_t);
* device name lookup
*/
extern boolean_t dev_name_lookup(
- char * name,
+ const char * name,
dev_ops_t *ops, /* out */
int *unit); /* out */