}
 }
 
-static void t3e3_port_get(struct channel *sc, t3e3_param_t *param)
+static void t3e3_port_get(struct channel *sc, struct t3e3_param *param)
 {
-       memcpy(param, &(sc->p), sizeof(t3e3_param_t));
+       memcpy(param, &(sc->p), sizeof(struct t3e3_param));
 }
 
-static void t3e3_port_set(struct channel *sc, t3e3_param_t *param)
+static void t3e3_port_set(struct channel *sc, struct t3e3_param *param)
 {
        if (param->frame_mode != 0xff)
                cpld_set_frame_mode(sc, param->frame_mode);
 void t3e3_if_config(struct channel *sc, u32 cmd, char *set,
                    t3e3_resp_t *ret, int *rlen)
 {
-       t3e3_param_t *param = (t3e3_param_t *)set;
+       struct t3e3_param *param = (struct t3e3_param *)set;
        u32 *data = (u32 *)set;
 
        /* turn off all interrupt */
 
 #define NG_SBE_2T3E3_NODE_TYPE  "sbe2T3E3"
 #define NG_SBE_2T3E3_COOKIE     0x03800891
 
-typedef struct t3e3_param {
+struct t3e3_param {
        u_int8_t frame_mode;            /* FRAME_MODE_* */
        u_int8_t crc;                   /* CRC_* */
        u_int8_t receiver_on;           /* ON/OFF */
        u_int8_t fractional_mode;       /* FRACTIONAL_MODE_* */
        u_int8_t bandwidth_start;       /* 0-255 */
        u_int8_t bandwidth_stop;        /* 0-255 */
-} t3e3_param_t;
+};
 
 typedef struct t3e3_stats {
        u_int64_t in_bytes;
 
 typedef struct t3e3_resp {
        union {
-               t3e3_param_t param;
+               struct t3e3_param param;
                t3e3_stats_t stats;
                u32 data;
        } u;
 
 {
        struct channel *sc = dev_to_priv(dev);
        int cmd_2t3e3, len, rlen;
-       t3e3_param_t param;
+       struct t3e3_param param;
        t3e3_resp_t  resp;
        void __user *data = ifr->ifr_data + sizeof(cmd_2t3e3) + sizeof(len);