diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-15 11:48:39 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-15 21:42:30 +0100 |
commit | f885fde0a7177f954893be22efdf8c55c7c40fdb (patch) | |
tree | 1052965ca2da8f0e22142205d8fe1bb4de0fd531 /chips | |
parent | 442227ee5519f307e9f74030a9eeb7aa7983a4bc (diff) |
ddb: qualify pointers whose dereferenced values are constant with const
Diffstat (limited to 'chips')
-rw-r--r-- | chips/busses.c | 8 | ||||
-rw-r--r-- | chips/busses.h | 8 |
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 */ |