commit | 625f3eea40024d0fc6562fc737761bba696c662b | [log] [tgz] |
---|---|---|
author | Andrey Smirnov <andrew.smirnov@gmail.com> | Mon Jul 25 21:45:01 2016 -0700 |
committer | Scott Wood <oss@buserror.net> | Sat Sep 24 23:59:51 2016 -0500 |
tree | 41afa31616c20bb37bd741ee89b687527a7b7421 | |
parent | 49bf9279cd3edb9d7178223f52d4656dbf2e46b5 [diff] |
powerpc/sgy_cts1000: Fix gpio_halt_cb()'s signature Halt callback in struct machdep_calls is declared with __noreturn attribute, so omitting that attribute in gpio_halt_cb()'s signatrue results in compilation error. Change the signature to address the problem as well as change the code of the function to avoid ever returning from the function. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Scott Wood <oss@buserror.net>