diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-03-21 13:27:55 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-21 13:27:55 -0700 |
commit | 29ded5f76ce3c41f43b64643b074b7c9c9ebd925 (patch) | |
tree | 2de9edded589e6b7bdab82acfaa596624b8add75 /net | |
parent | b55de80e49892002a1878013ab9aee1a30970be6 (diff) |
gianfar: Fix build with CONFIG_PM enabled
commit 4826857f1bf07f9c0f1495e9b05d125552c88a85 ("gianfar: pass the
proper dev to DMA ops") introduced this build breakage:
CC drivers/net/gianfar.o
drivers/net/gianfar.c: In function 'gfar_suspend':
drivers/net/gianfar.c:552: error: 'struct gfar_private' has no member named 'dev'
drivers/net/gianfar.c: In function 'gfar_resume':
drivers/net/gianfar.c:601: error: 'struct gfar_private' has no member named 'dev'
make[2]: *** [drivers/net/gianfar.o] Error 1
Fix this by converting suspend and resume routines to use
gfar_private->ndev.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions