]> Pileus Git - ~andy/linux/commit
firmware loader: fix compile failure if !PM
authorMing Lei <ming.lei@canonical.com>
Fri, 17 Aug 2012 14:06:58 +0000 (22:06 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Aug 2012 14:36:11 +0000 (07:36 -0700)
commitc08f67730aba342b03f070209acc2990d3decf3c
treed03444829cf235bbbabfc7663befc712e2bd13ef
parent9baf3220afe870b2526397919857b271c3affda5
firmware loader: fix compile failure if !PM

'return 0' should be added to fw_pm_notify if !PM because
return value of the funcion is defined as 'int'.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_class.c