Fixes after renaming __FUNCTION__ to __func__
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Cc: Eric Blake <eblake@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
a89f364ae8
commit
c94a60cbfa
@ -3329,14 +3329,12 @@ static void omap_mcbsp_writeh(void *opaque, hwaddr addr,
|
|||||||
case 0x18: /* MCR2 */
|
case 0x18: /* MCR2 */
|
||||||
s->mcr[1] = value & 0x03e3;
|
s->mcr[1] = value & 0x03e3;
|
||||||
if (value & 3) /* XMCM */
|
if (value & 3) /* XMCM */
|
||||||
printf("%s: Tx channel selection mode enable attempt\n",
|
printf("%s: Tx channel selection mode enable attempt\n", __func__);
|
||||||
__func__);
|
|
||||||
return;
|
return;
|
||||||
case 0x1a: /* MCR1 */
|
case 0x1a: /* MCR1 */
|
||||||
s->mcr[0] = value & 0x03e1;
|
s->mcr[0] = value & 0x03e1;
|
||||||
if (value & 1) /* RMCM */
|
if (value & 1) /* RMCM */
|
||||||
printf("%s: Rx channel selection mode enable attempt\n",
|
printf("%s: Rx channel selection mode enable attempt\n", __func__);
|
||||||
__func__);
|
|
||||||
return;
|
return;
|
||||||
case 0x1c: /* RCERA */
|
case 0x1c: /* RCERA */
|
||||||
s->rcer[0] = value & 0xffff;
|
s->rcer[0] = value & 0xffff;
|
||||||
|
@ -659,7 +659,7 @@ static uint64_t onenand_read(void *opaque, hwaddr addr,
|
|||||||
case 0xff02: /* ECC Result of spare area data */
|
case 0xff02: /* ECC Result of spare area data */
|
||||||
case 0xff03: /* ECC Result of main area data */
|
case 0xff03: /* ECC Result of main area data */
|
||||||
case 0xff04: /* ECC Result of spare 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;
|
return 0x0000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user