]> git.baikalelectronics.ru Git - kernel.git/commit
net: smc91x: Fix up type mismatch in smc_drv_resume().
authorPaul Mundt <lethal@linux-sh.org>
Thu, 10 Dec 2009 20:42:27 +0000 (20:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Dec 2009 23:07:54 +0000 (15:07 -0800)
commit84dd6c03e6e230c927389c6d84294052eaf3edf6
tree3270d67d13f52964d4368344881a5c08be8b7cee
parentccafbbd7d11c69bab3a9cb1a6ff0c74cf0121437
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: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smc91x.c