···833833834834/**835835 * stmmac_selec_desc_mode836836- * @dev : device pointer837837- * Description: select the Enhanced/Alternate or Normal descriptors */836836+ * @priv : private structure837837+ * Description: select the Enhanced/Alternate or Normal descriptors838838+ */838839static void stmmac_selec_desc_mode(struct stmmac_priv *priv)839840{840841 if (priv->plat->enh_desc) {···18621861/**18631862 * stmmac_dvr_probe18641863 * @device: device pointer18641864+ * @plat_dat: platform data pointer18651865+ * @addr: iobase memory address18651866 * Description: this is the main probe function used to18661867 * call the alloc_etherdev, allocate the priv structure.18671868 */