From: Andrew Bresticker
Date: Thu, 2 Apr 2015 16:46:36 -0700
> +static void *pistachio_dwmac_setup(struct platform_device *pdev)
> +{
> + struct pistachio_dwmac_priv_data *pdata;
> +
> + pdata = devm_kzalloc(>dev, sizeof(*pdata), GFP_KERNEL);
> + if (!pdata)
> + return
From: Andrew Bresticker abres...@chromium.org
Date: Thu, 2 Apr 2015 16:46:36 -0700
+static void *pistachio_dwmac_setup(struct platform_device *pdev)
+{
+ struct pistachio_dwmac_priv_data *pdata;
+
+ pdata = devm_kzalloc(pdev-dev, sizeof(*pdata), GFP_KERNEL);
+ if (!pdata)
+
At the moment, the only additional setup required for the DWMAC
on the IMG Pistachio SoC is to request and enable a separate gate
clock for the register interface.
Signed-off-by: Andrew Bresticker
Signed-off-by: Govindraj Raja
Cc: James Hartley
---
drivers/net/ethernet/stmicro/stmmac/Makefile
At the moment, the only additional setup required for the DWMAC
on the IMG Pistachio SoC is to request and enable a separate gate
clock for the register interface.
Signed-off-by: Andrew Bresticker abres...@chromium.org
Signed-off-by: Govindraj Raja govindraj.r...@imgtec.com
Cc: James Hartley
4 matches
Mail list logo