From: Kevin Winchester Date: Fri, 29 Oct 2010 13:29:55 +0000 (+0200) Subject: PM / Runtime: Fix typo in status comparison causing warning X-Git-Tag: v2.6.37-rc1~30^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78ca7c37efaa541006269aa3d3e560ea7926e245;p=pandora-kernel.git PM / Runtime: Fix typo in status comparison causing warning GCC version 4.5.1 gives the following warning: drivers/base/power/runtime.c: In function ‘rpm_check_suspend_allowed’: drivers/base/power/runtime.c:146:25: warning: comparison between ‘enum dpm_state’ and ‘enum rpm_status’ which seems to be a typo in that dev->power.runtime_status should be compared instead of dev->power.status. Signed-off-by: Kevin Winchester Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed