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:
parent
9e950417ce
commit
4c991ff32f
@ -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;
|
||||
|
@ -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,
|
||||
};
|
||||
|
@ -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,
|
||||
};
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user