Explorar o código

soc: qcom: fix of_device_id table

The match tables must be zero-terminated, and Kbuild now helpfully
fails to link the kernel if that isn't the case.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Arnd Bergmann %!s(int64=11) %!d(string=hai) anos
pai
achega
1b7f0c7b93
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      drivers/soc/qcom/qcom_gsbi.c

+ 1 - 0
drivers/soc/qcom/qcom_gsbi.c

@@ -64,6 +64,7 @@ static int gsbi_probe(struct platform_device *pdev)
 
 static const struct of_device_id gsbi_dt_match[] = {
 	{ .compatible = "qcom,gsbi-v1.0.0", },
+	{ },
 };
 
 MODULE_DEVICE_TABLE(of, gsbi_dt_match);