Skip to contentSkip to conversation

staging/mt29f_spinand: Terminate of match table

PATCH New Stephen Boyd 1 participant 1 message May 24, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging/mt29f_spinand: Terminate of match table

Failure to terminate this match table can lead to boot failures depending on where the compiler places the match table.

---
 drivers/staging/mt29f_spinand/mt29f_spinand.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/mt29f_spinand/mt29f_spinand.c +1 -0
index 51dbc13e757f..5a40925680ac 100644
@@ -924,6 +924,7 @@ static int spinand_remove(struct spi_device *spi)
 
 static const struct of_device_id spinand_dt[] = {
 	{ .compatible = "spinand,mt29f", },
+	{}
 };
 
 /*
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation