summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sparc64/include/bus.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sparc64/include/bus.h b/sys/sparc64/include/bus.h
index 97a4baa..79f6a67 100644
--- a/sys/sparc64/include/bus.h
+++ b/sys/sparc64/include/bus.h
@@ -318,7 +318,7 @@ bus_space_write_8(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o,
static __inline void
bus_space_write_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o,
- uint8_t *a, size_t c)
+ const uint8_t *a, size_t c)
{
while (c-- > 0)
@@ -327,7 +327,7 @@ bus_space_write_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o,
static __inline void
bus_space_write_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o,
- uint16_t *a, size_t c)
+ const uint16_t *a, size_t c)
{
while (c-- > 0)
@@ -336,7 +336,7 @@ bus_space_write_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o,
static __inline void
bus_space_write_multi_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o,
- uint32_t *a, size_t c)
+ const uint32_t *a, size_t c)
{
while (c-- > 0)
@@ -345,7 +345,7 @@ bus_space_write_multi_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o,
static __inline void
bus_space_write_multi_8(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o,
- uint64_t *a, size_t c)
+ const uint64_t *a, size_t c)
{
while (c-- > 0)
OpenPOWER on IntegriCloud