Patchwork [v2,05/16] blackfin: Update stmmac callback signatures

login
register
mail settings
Submitter Chen-Yu Tsai
Date Jan. 10, 2014, 7 a.m.
Message ID <1389337217-29032-6-git-send-email-wens@csie.org>
Download mbox | patch
Permalink /patch/309161/
State Changes Requested
Delegated to: David Miller
Headers show

Comments

Chen-Yu Tsai - Jan. 10, 2014, 7 a.m.
stmmac callbacks have been extended for better seperation.
Update them to avoid breakage.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/blackfin/mach-bf609/boards/ezkit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Sergei Shtylyov - Jan. 10, 2014, 8:47 p.m.
Hello.

On 01/10/2014 10:00 AM, Chen-Yu Tsai wrote:

> stmmac callbacks have been extended for better seperation.

    Only "separation".

> Update them to avoid breakage.

> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/blackfin/mach-bf609/boards/ezkit.c b/arch/blackfin/mach-bf609/boards/ezkit.c
index 82beedd..05194e9 100644
--- a/arch/blackfin/mach-bf609/boards/ezkit.c
+++ b/arch/blackfin/mach-bf609/boards/ezkit.c
@@ -117,7 +117,7 @@  static struct stmmac_dma_cfg eth_dma_cfg = {
 	.pbl	= 2,
 };
 
-int stmmac_ptp_clk_init(struct platform_device *pdev)
+int stmmac_ptp_clk_init(struct platform_device *pdev, void *priv)
 {
 	bfin_write32(PADS0_EMAC_PTP_CLKSEL, 0);
 	return 0;