summaryrefslogtreecommitdiffstats
path: root/sys/arm/freescale/vybrid/vf_sai.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/freescale/vybrid/vf_sai.c')
-rw-r--r--sys/arm/freescale/vybrid/vf_sai.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arm/freescale/vybrid/vf_sai.c b/sys/arm/freescale/vybrid/vf_sai.c
index 309d95e..83f689f 100644
--- a/sys/arm/freescale/vybrid/vf_sai.c
+++ b/sys/arm/freescale/vybrid/vf_sai.c
@@ -433,7 +433,7 @@ find_edma_controller(struct sc_info *sc)
if ((len = OF_getproplen(edma_node, "device-id")) <= 0) {
return (ENXIO);
- };
+ }
OF_getprop(edma_node, "device-id", &dts_value, len);
edma_device_id = fdt32_to_cpu(dts_value);
@@ -447,16 +447,16 @@ find_edma_controller(struct sc_info *sc)
if (edma_sc->device_id == edma_device_id) {
/* found */
break;
- };
+ }
edma_sc = NULL;
- };
- };
+ }
+ }
if (edma_sc == NULL) {
device_printf(sc->dev, "no eDMA. can't operate\n");
return (ENXIO);
- };
+ }
sc->edma_sc = edma_sc;
@@ -465,7 +465,7 @@ find_edma_controller(struct sc_info *sc)
if (sc->edma_chnum < 0) {
/* cant setup eDMA */
return (ENXIO);
- };
+ }
return (0);
};
OpenPOWER on IntegriCloud