]> git.karo-electronics.de Git - mv-sheeva.git/commit
net/fec: clean suspend/resume
authorEric Benard <eric@eukrea.com>
Fri, 18 Jun 2010 04:19:54 +0000 (04:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jun 2010 04:33:14 +0000 (21:33 -0700)
commit87cad5c385877ce45244886748564672fd6db035
treef8b11f2281545b46b0865372e61a722487699088
parentd05f6cf01cc5241ddaca6e122021e64441fe08f3
net/fec: clean suspend/resume

Commit 59d4289b83b11379d867e2f7146904b19cc96404 converted fec to dev_pm_ops but
didn't update the suspend/resume functions thus leading to the following warning :
"initialization from incompatible pointer type" when CONFIG_PM is set.

This patch also fixe a few indentation and style around CONFIG_PM area.

Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
Cc: netdev@vger.kernel.org
Cc: davem@davemloft.net
Cc: amit.kucheria@canonical.com
Cc: s.hauer@pengutronix.de
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fec.c