add missing call to add new NAND devices

I forgot to add a call to the newly factored nand_device_add(), along
with its forward declaration.
This commit is contained in:
Zachary T Welch
2009-12-11 18:43:27 -08:00
parent 8438dee786
commit 75892bfc6e
2 changed files with 4 additions and 0 deletions

View File

@@ -580,6 +580,8 @@ static COMMAND_HELPER(create_nand_device, const char *bank_name,
return ERROR_OK;
}
nand_device_add(c);
return ERROR_OK;
}