Skip to content

Commit

Permalink
Fixes after renaming __FUNCTION__ to __func__
Browse files Browse the repository at this point in the history
Signed-off-by: Alistair Francis <[email protected]>
Cc: Eric Blake <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
  • Loading branch information
alistair23 authored and huth committed Jan 22, 2018
1 parent a89f364 commit c94a60c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions hw/arm/omap1.c
Original file line number Diff line number Diff line change
Expand Up @@ -1717,7 +1717,7 @@ static void omap_clkm_write(void *opaque, hwaddr addr,
if ((s->clkm.clocking_scheme ^ (value >> 11)) & 7) {
s->clkm.clocking_scheme = (value >> 11) & 7;
printf("%s: clocking scheme set to %s\n", __func__,
clkschemename[s->clkm.clocking_scheme]);
clkschemename[s->clkm.clocking_scheme]);
}
s->clkm.cold_start &= value & 0x3f;
return;
Expand Down Expand Up @@ -3329,14 +3329,12 @@ static void omap_mcbsp_writeh(void *opaque, hwaddr addr,
case 0x18: /* MCR2 */
s->mcr[1] = value & 0x03e3;
if (value & 3) /* XMCM */
printf("%s: Tx channel selection mode enable attempt\n",
__func__);
printf("%s: Tx channel selection mode enable attempt\n", __func__);
return;
case 0x1a: /* MCR1 */
s->mcr[0] = value & 0x03e1;
if (value & 1) /* RMCM */
printf("%s: Rx channel selection mode enable attempt\n",
__func__);
printf("%s: Rx channel selection mode enable attempt\n", __func__);
return;
case 0x1c: /* RCERA */
s->rcer[0] = value & 0xffff;
Expand Down
2 changes: 1 addition & 1 deletion hw/block/onenand.c
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ static uint64_t onenand_read(void *opaque, hwaddr addr,
case 0xff02: /* ECC Result of spare area data */
case 0xff03: /* ECC Result of main area data */
case 0xff04: /* ECC Result of spare area data */
hw_error("%s: imeplement ECC\n", __func__);
hw_error("%s: implement ECC\n", __func__);
return 0x0000;
}

Expand Down

0 comments on commit c94a60c

Please sign in to comment.