void dc_receiver_onoff(struct channel *, u32);
 void dc_transmitter_onoff(struct channel *, u32);
 void dc_set_loopback(struct channel *, u32);
-u32 dc_init_descriptor_list(struct channel *);
 void dc_clear_descriptor_list(struct channel *);
 void dc_drop_descriptor_list(struct channel *);
 void dc_set_output_port(struct channel *);
 
 #include "2t3e3.h"
 #include "ctrl.h"
 
+static int dc_init_descriptor_list(struct channel *sc);
+
 void dc_init(struct channel *sc)
 {
        u32 val;
                              SBE_2T3E3_21143_VAL_FULL_DUPLEX_MODE);
 }
 
-u32 dc_init_descriptor_list(struct channel *sc)
+static int dc_init_descriptor_list(struct channel *sc)
 {
        u32 i, j;
        struct sk_buff *m;
                                            sizeof(t3e3_rx_desc_t), GFP_KERNEL);
        if (sc->ether.rx_ring == NULL) {
                dev_err(&sc->pdev->dev, "SBE 2T3E3: no buffer space for RX ring\n");
-               return ENOMEM;
+               return -ENOMEM;
        }
 
        if (sc->ether.tx_ring == NULL)
                kfree(sc->ether.rx_ring);
                sc->ether.rx_ring = NULL;
                dev_err(&sc->pdev->dev, "SBE 2T3E3: no buffer space for RX ring\n");
-               return ENOMEM;
+               return -ENOMEM;
        }
 
 
                                sc->ether.tx_ring = NULL;
                                dev_err(&sc->pdev->dev, "SBE 2T3E3: token_alloc err:"
                                        " no buffer space for RX ring\n");
-                               return ENOBUFS;
+                               return -ENOBUFS;
                        }
                        sc->ether.rx_data[i] = m;
                }