drm/nouveau/pm: fix compilation failure when CONFIG_POWER_SUPPLY is not set
authorMartin Peres <martin.peres@free.fr>
Mon, 11 Apr 2011 22:55:44 +0000 (00:55 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 16 May 2011 00:49:34 +0000 (10:49 +1000)
commit1f962797fb1343f02cbacb94d80c4560d47b67a9
tree7155a67b063bcaf3b74bd799e047a00b87b30e50
parent1233bd8d31902c09f22691294082c7825f71d13b
drm/nouveau/pm: fix compilation failure when CONFIG_POWER_SUPPLY is not set

Signed-off-by: Martin Peres <martin.peres@ensi-bourges.fr>
Reported-by: Stratos Psomadakis <psomas@ece.ntua.gr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_pm.c