]> git.baikalelectronics.ru Git - kernel.git/commit
gianfar: Fix build with CONFIG_PM=y
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 10 Nov 2009 14:11:05 +0000 (14:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Nov 2009 03:03:33 +0000 (19:03 -0800)
commit2f81b49058a92c9242a44e396fae9edea4617976
tree1920ef54a6f863972b76983e1be956475fb533d6
parent5261ce71332431fccc92780a615e968c06a57941
gianfar: Fix build with CONFIG_PM=y

commit df83f4aadff038b7a8c2222682360f483483 ("gianfar: Add Multiple
Queue Support") introduced the following build failure:

  CC      gianfar.o
gianfar.c: In function 'gfar_restore':
gianfar.c:1249: error: request for member 'napi' in something not a structure or union

This patch fixes the issue.

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>
drivers/net/gianfar.c