} h;
 
        /* statistics */
-       t3e3_stats_t s;
+       struct t3e3_stats s;
 
        /* running */
        struct {
 
                cpld_set_scrambler(sc, param->scrambler);
 }
 
-static void t3e3_port_get_stats(struct channel *sc,
-                        t3e3_stats_t *stats)
+static void t3e3_port_get_stats(struct channel *sc, struct t3e3_stats *stats)
 {
        u32 result;
 
        result += exar7250_read(sc, SBE_2T3E3_FRAMER_REG_PMON_HOLDING_REGISTER);
        sc->s.CP_BIT += result;
 
-       memcpy(stats, &(sc->s), sizeof(t3e3_stats_t));
+       memcpy(stats, &(sc->s), sizeof(struct t3e3_stats));
 }
 
 static void t3e3_port_del_stats(struct channel *sc)
 {
-       memset(&(sc->s), 0, sizeof(t3e3_stats_t));
+       memset(&(sc->s), 0, sizeof(struct t3e3_stats));
 }
 
 void t3e3_if_config(struct channel *sc, u32 cmd, char *set,
 
        u_int8_t bandwidth_stop;        /* 0-255 */
 };
 
-typedef struct t3e3_stats {
+struct t3e3_stats {
        u_int64_t in_bytes;
        u32 in_packets, in_dropped;
        u32 in_errors, in_error_desc, in_error_coll, in_error_drib,
        u_int8_t LOC, LOF, OOF, LOS, AIS, FERF, IDLE, AIC, FEAC;
        u_int16_t FEBE_code;
        u32 LCV, FRAMING_BIT, PARITY_ERROR, FEBE_count, CP_BIT;
-} t3e3_stats_t;
+};
 
 
 typedef struct t3e3_resp {
        union {
                struct t3e3_param param;
-               t3e3_stats_t stats;
+               struct t3e3_stats stats;
                u32 data;
        } u;
 } t3e3_resp_t;
 
 {
        struct net_device_stats *nstats = &dev->stats;
        struct channel *sc = dev_to_priv(dev);
-       t3e3_stats_t *stats = &sc->s;
+       struct t3e3_stats *stats = &sc->s;
 
        memset(nstats, 0, sizeof(struct net_device_stats));
        nstats->rx_packets = stats->in_packets;