diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-03-31 18:37:19 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-04-01 08:59:07 +0200 |
commit | 2615bf4398f393ee1e387128064093dcd44749c8 (patch) | |
tree | f9e610d2ec9e68438397114e6e13997a48b8e62e /src/target/avr32_ap7k.c | |
parent | d76fd2aac798b4b052a50883ac148cbc19080d4a (diff) |
types: write memory now uses const
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/avr32_ap7k.c')
-rw-r--r-- | src/target/avr32_ap7k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/avr32_ap7k.c b/src/target/avr32_ap7k.c index ed10847a..70e5129d 100644 --- a/src/target/avr32_ap7k.c +++ b/src/target/avr32_ap7k.c @@ -515,7 +515,7 @@ static int avr32_ap7k_read_memory(struct target *target, uint32_t address, } static int avr32_ap7k_write_memory(struct target *target, uint32_t address, - uint32_t size, uint32_t count, uint8_t *buffer) + uint32_t size, uint32_t count, const uint8_t *buffer) { struct avr32_ap7k_common *ap7k = target_to_ap7k(target); @@ -600,7 +600,7 @@ static int avr32_ap7k_examine(struct target *target) } static int avr32_ap7k_bulk_write_memory(struct target *target, uint32_t address, - uint32_t count, uint8_t *buffer) + uint32_t count, const uint8_t *buffer) { LOG_ERROR("%s: implement me", __func__); |