summaryrefslogtreecommitdiffstats
path: root/sys/arm/freescale/vybrid
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/freescale/vybrid')
-rw-r--r--sys/arm/freescale/vybrid/vf_ccm.c10
-rw-r--r--sys/arm/freescale/vybrid/vf_edma.c6
-rw-r--r--sys/arm/freescale/vybrid/vf_port.c2
-rw-r--r--sys/arm/freescale/vybrid/vf_sai.c12
4 files changed, 15 insertions, 15 deletions
diff --git a/sys/arm/freescale/vybrid/vf_ccm.c b/sys/arm/freescale/vybrid/vf_ccm.c
index 8f8a3f0..82284d5 100644
--- a/sys/arm/freescale/vybrid/vf_ccm.c
+++ b/sys/arm/freescale/vybrid/vf_ccm.c
@@ -379,15 +379,15 @@ set_clock(struct ccm_softc *sc, char *name)
reg &= ~(clk->sel_mask << clk->sel_shift);
reg |= (clk->sel_val << clk->sel_shift);
WRITE4(sc, clk->sel_reg, reg);
- };
+ }
reg = READ4(sc, clk->reg);
reg |= clk->enable_reg;
reg &= ~(clk->div_mask << clk->div_shift);
reg |= (clk->div_val << clk->div_shift);
WRITE4(sc, clk->reg, reg);
- };
- };
+ }
+ }
return (0);
}
@@ -425,8 +425,8 @@ ccm_fdt_set(struct ccm_softc *sc)
fdt_config += strlen(name) + 1;
len -= strlen(name) + 1;
set_clock(sc, name);
- };
- };
+ }
+ }
if (OF_peer(child) == 0) {
/* No more siblings. */
diff --git a/sys/arm/freescale/vybrid/vf_edma.c b/sys/arm/freescale/vybrid/vf_edma.c
index ed12072..9317921 100644
--- a/sys/arm/freescale/vybrid/vf_edma.c
+++ b/sys/arm/freescale/vybrid/vf_edma.c
@@ -161,7 +161,7 @@ channel_configure(struct edma_softc *sc, int mux_grp, int mux_src)
} else {
channel_first = 0;
mux_num = sc->device_id * 2;
- };
+ }
/* Take first unused eDMA channel */
ch = NULL;
@@ -171,12 +171,12 @@ channel_configure(struct edma_softc *sc, int mux_grp, int mux_src)
break;
}
ch = NULL;
- };
+ }
if (ch == NULL) {
/* Can't find free channel */
return (-1);
- };
+ }
chnum = i;
diff --git a/sys/arm/freescale/vybrid/vf_port.c b/sys/arm/freescale/vybrid/vf_port.c
index 943ca88..6ff8bfc 100644
--- a/sys/arm/freescale/vybrid/vf_port.c
+++ b/sys/arm/freescale/vybrid/vf_port.c
@@ -171,7 +171,7 @@ port_setup(int pnum, enum ev_type pevt, void (*ih)(void *), void *ih_user)
break;
default:
return (-1);
- };
+ }
reg = READ4(sc, PORT_PCR(pnum));
reg &= ~(PCR_IRQC_M << PCR_IRQC_S);
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