1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Fix a number of -Wcast-qual warnings under sys/arm. No functional

change.

Submitted by:	andrew
MFC after:	3 days
This commit is contained in:
Dimitry Andric 2015-02-26 07:47:35 +00:00
parent 9e950417ce
commit 4c991ff32f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279312
4 changed files with 7 additions and 7 deletions

View File

@ -289,7 +289,7 @@ static void disassemble_printaddr(u_int address);
vm_offset_t
disasm(const disasm_interface_t *di, vm_offset_t loc, int altfmt)
{
struct arm32_insn *i_ptr = (struct arm32_insn *)&arm32_i;
const struct arm32_insn *i_ptr = arm32_i;
u_int insn;
int matchp;

View File

@ -298,6 +298,6 @@ const static struct ti_scm_padconf ti_padconf_devmap[] = {
const struct ti_scm_device ti_scm_dev = {
.padconf_muxmode_mask = 0x7,
.padconf_sate_mask = 0x78,
.padstate = (struct ti_scm_padstate *) &ti_padstate_devmap,
.padconf = (struct ti_scm_padconf *) &ti_padconf_devmap,
.padstate = ti_padstate_devmap,
.padconf = ti_padconf_devmap,
};

View File

@ -298,6 +298,6 @@ const static struct ti_scm_padconf ti_padconf_devmap[] = {
const struct ti_scm_device ti_scm_dev = {
.padconf_muxmode_mask = CONTROL_PADCONF_MUXMODE_MASK,
.padconf_sate_mask = CONTROL_PADCONF_SATE_MASK,
.padstate = (struct ti_scm_padstate *) &ti_padstate_devmap,
.padconf = (struct ti_scm_padconf *) &ti_padconf_devmap,
.padstate = ti_padstate_devmap,
.padconf = ti_padconf_devmap,
};

View File

@ -59,8 +59,8 @@ struct ti_scm_padstate {
struct ti_scm_device {
uint16_t padconf_muxmode_mask;
uint16_t padconf_sate_mask;
struct ti_scm_padstate *padstate;
struct ti_scm_padconf *padconf;
const struct ti_scm_padstate *padstate;
const struct ti_scm_padconf *padconf;
};
struct ti_scm_softc {