Просмотр исходного кода

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 11 лет назад
Родитель
Сommit
1b7f0c7b93
1 измененных файлов с 1 добавлено и 0 удалено
  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);