aboutsummaryrefslogtreecommitdiff
path: root/platforms/rhesus/rhesus.c
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/rhesus/rhesus.c')
-rw-r--r--platforms/rhesus/rhesus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/rhesus/rhesus.c b/platforms/rhesus/rhesus.c
index 50769cf..27e1c91 100644
--- a/platforms/rhesus/rhesus.c
+++ b/platforms/rhesus/rhesus.c
@@ -118,7 +118,7 @@ static int64_t rhesus_power_down(uint64_t request __unused)
static int rhesus_pnor_init(void)
{
struct spi_flash_ctrl *pnor_ctrl;
- struct flash_chip *pnor_chip;
+ struct flash_chip *pnor_chip = NULL;
int rc;
/* Open controller, flash and ffs */