X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fmips32_dmaacc.h;h=70fe2a77eadd46790fe9774fad19aac61d3543f8;hp=15dd677bb3ba9757c6643f1305d4045bc6f814e6;hb=5fbf4d4cc3f67ec8b2fb3d8a789117583a84e1a1;hpb=08d4411b59dd8bd0e7d8009003b71d23acbf6eee diff --git a/src/target/mips32_dmaacc.h b/src/target/mips32_dmaacc.h index 15dd677bb3..70fe2a77ea 100644 --- a/src/target/mips32_dmaacc.h +++ b/src/target/mips32_dmaacc.h @@ -18,13 +18,11 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * along with this program. If not, see . * ***************************************************************************/ -#ifndef MIPS32_DMAACC_H -#define MIPS32_DMAACC_H +#ifndef OPENOCD_TARGET_MIPS32_DMAACC_H +#define OPENOCD_TARGET_MIPS32_DMAACC_H #include "mips_ejtag.h" @@ -38,6 +36,6 @@ int mips32_dmaacc_read_mem(struct mips_ejtag *ejtag_info, uint32_t addr, int size, int count, void *buf); int mips32_dmaacc_write_mem(struct mips_ejtag *ejtag_info, - uint32_t addr, int size, int count, void *buf); + uint32_t addr, int size, int count, const void *buf); -#endif +#endif /* OPENOCD_TARGET_MIPS32_DMAACC_H */