Commit dc2df00a authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Jakub Kicinski

net: tulip: fix build with CONFIG_GSC

Fix typo which breaks build for parisc.

Fixes: 3daebfbe ("net: tulip: convert to devres")
Reported-by: default avatarLinux Kernel Functional Testing <lkft@linaro.org>
Link: https://lore.kernel.org/all/CA+G9fYuCzU5VZ_nc+6NEdBXJdVCH=J2SB1Na1G_NS_0BNdGYtg@mail.gmail.com/Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarRolf Eike Beer <eike-kernel@sf-tec.de>
Link: https://lore.kernel.org/r/4719560.GXAFRqVoOG@eto.sf-tec.deSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent c09b0cd2
......@@ -117,7 +117,7 @@ static void tulip_build_fake_mediatable(struct tulip_private *tp)
0x00, 0x06 /* ttm bit map */
};
tp->mtable = devm_kmalloc(&tp->pdev->pdev, sizeof(struct mediatable) +
tp->mtable = devm_kmalloc(&tp->pdev->dev, sizeof(struct mediatable) +
sizeof(struct medialeaf), GFP_KERNEL);
if (tp->mtable == NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment