aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platforms/astbmc/witherspoon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/astbmc/witherspoon.c b/platforms/astbmc/witherspoon.c
index a69114c..67c24b5 100644
--- a/platforms/astbmc/witherspoon.c
+++ b/platforms/astbmc/witherspoon.c
@@ -555,7 +555,7 @@ static void witherspoon_finalise_dt(bool is_reboot)
* SCL/SDA don't return to the idle state fast enough. Disable
* the port to squash the errors.
*/
- for (c = next_chip(0); c; c = next_chip(c)) {
+ for (c = next_chip(NULL); c; c = next_chip(c)) {
bool detected = false;
int i;