summaryrefslogtreecommitdiff
path: root/chips
diff options
context:
space:
mode:
Diffstat (limited to 'chips')
-rw-r--r--chips/busses.c8
-rw-r--r--chips/busses.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/chips/busses.c b/chips/busses.c
index f9f6f1b..3811d0c 100644
--- a/chips/busses.c
+++ b/chips/busses.c
@@ -59,11 +59,11 @@
*
*/
boolean_t configure_bus_master(
- char *name,
+ const char *name,
vm_offset_t virt,
vm_offset_t phys,
int adpt_no,
- char *bus_name)
+ const char *bus_name)
{
struct bus_device *device;
struct bus_ctlr *master;
@@ -171,11 +171,11 @@ boolean_t configure_bus_master(
*
*/
boolean_t configure_bus_device(
- char *name,
+ const char *name,
vm_offset_t virt,
vm_offset_t phys,
int adpt_no,
- char *bus_name)
+ const char *bus_name)
{
struct bus_device *device;
struct bus_driver *driver;
diff --git a/chips/busses.h b/chips/busses.h
index 49c0e44..f728add 100644
--- a/chips/busses.h
+++ b/chips/busses.h
@@ -144,10 +144,10 @@ struct bus_driver {
extern struct bus_ctlr bus_master_init[];
extern struct bus_device bus_device_init[];
-extern boolean_t configure_bus_master(char *, vm_offset_t, vm_offset_t,
- int, char * );
-extern boolean_t configure_bus_device(char *, vm_offset_t, vm_offset_t,
- int, char * );
+extern boolean_t configure_bus_master(const char *, vm_offset_t, vm_offset_t,
+ int, const char * );
+extern boolean_t configure_bus_device(const char *, vm_offset_t, vm_offset_t,
+ int, const char * );
#endif /* KERNEL */