|
@@ -833,8 +833,9 @@ static u32 stmmac_get_synopsys_id(struct stmmac_priv *priv)
|
|
|
|
|
|
/**
|
|
|
* stmmac_selec_desc_mode
|
|
|
- * @dev : device pointer
|
|
|
- * Description: select the Enhanced/Alternate or Normal descriptors */
|
|
|
+ * @priv : private structure
|
|
|
+ * Description: select the Enhanced/Alternate or Normal descriptors
|
|
|
+ */
|
|
|
static void stmmac_selec_desc_mode(struct stmmac_priv *priv)
|
|
|
{
|
|
|
if (priv->plat->enh_desc) {
|
|
@@ -1861,6 +1862,8 @@ static int stmmac_hw_init(struct stmmac_priv *priv)
|
|
|
/**
|
|
|
* stmmac_dvr_probe
|
|
|
* @device: device pointer
|
|
|
+ * @plat_dat: platform data pointer
|
|
|
+ * @addr: iobase memory address
|
|
|
* Description: this is the main probe function used to
|
|
|
* call the alloc_etherdev, allocate the priv structure.
|
|
|
*/
|