Sfoglia il codice sorgente

DM365: Fix Build Error

After the merger of the next branch, the DM365 was
broken. A function used only by DA8xx based SOCs was
being incorrectly called. So fix it.


Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Sandeep Paulraj 14 anni fa
parent
commit
99e4c75463
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      board/davinci/common/misc.c

+ 1 - 1
board/davinci/common/misc.c

@@ -80,7 +80,7 @@ err:
 /*
 /*
  * Set the mii mode as MII or RMII
  * Set the mii mode as MII or RMII
  */
  */
-#if defined(CONFIG_DRIVER_TI_EMAC)
+#if defined(CONFIG_SOC_DA8XX)
 void davinci_emac_mii_mode_sel(int mode_sel)
 void davinci_emac_mii_mode_sel(int mode_sel)
 {
 {
 	int val;
 	int val;