commit | af1c2d6862a4ad9b7ab8573a122f824f846da814 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Aug 10 07:05:08 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Fri Aug 14 03:24:21 2015 -0600 |
tree | 0f51a3f0d1447962b9b0f8cb5a9c6c3b5604e40f | |
parent | fa912739349ff233acc4e09a8c3c637fe53c8ac6 [diff] [blame] |
x86: Allow pirq_init() to return an error This function can fail. In this case we should return the error rather than swallowing it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff --git a/arch/x86/cpu/queensbay/tnc.c b/arch/x86/cpu/queensbay/tnc.c index de50893..c465642 100644 --- a/arch/x86/cpu/queensbay/tnc.c +++ b/arch/x86/cpu/queensbay/tnc.c
@@ -80,7 +80,5 @@ int arch_misc_init(void) { - pirq_init(); - - return 0; + return pirq_init(); }