struct ti_mux_softc and struct ti_gate_softc both declare their device
handle as sc_dev. Neither has a member named dev, but three call sites in
each file reference sc->dev:
sys/arm/ti/clk/ti_mux_clock.c:170,179,187 bus_attach_children(sc->dev); sys/arm/ti/clk/ti_gate_clock.c:188,197,205 bus_attach_children(sc->dev);
Adjacent lines in the same functions already use sc->sc_dev correctly,
e.g. DPRINTF(sc->sc_dev, ...) immediately above each of these calls.
Introduced by 18250ec6c089 "Replace calls to bus_generic_attach with
bus_attach_children", a mechanical tree-wide change. The error survived
because nothing builds these files: AM335x was removed from the armv7
GENERIC config in 3416e102c4e9, so the compiler has not checked them since.