Skip to content
Commit 5fc34413 authored by Paul Mundt's avatar Paul Mundt Committed by David S. Miller
Browse files

net: smc91x: Fix up type mismatch in smc_drv_resume().



smc_drv_resume() takes a struct device, while smc_enable_device() takes a
platform device. This fixes up the smc_enable_device() callsite with the
proper pointer.

It's not obvious when this change was introduced, as git history doesn't
go back that far. Presumably the resume code has always been broken in
this fashion.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fd0775bf
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