diff options
author | Kevin Winchester <kjwinchester@gmail.com> | 2010-10-29 15:29:55 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-10-29 15:29:55 +0200 |
commit | 78ca7c37efaa541006269aa3d3e560ea7926e245 (patch) | |
tree | 1d54636da21626f281864a777ee7607891c436f4 /lib/sha1.c | |
parent | 18cb657ca1bafe635f368346a1676fb04c512edf (diff) | |
download | talos-obmc-linux-78ca7c37efaa541006269aa3d3e560ea7926e245.tar.gz talos-obmc-linux-78ca7c37efaa541006269aa3d3e560ea7926e245.zip |
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 <kjwinchester@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'lib/sha1.c')
0 files changed, 0 insertions, 0 deletions