From patchwork Sat May 26 09:35:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 920948 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-pci-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40tHqC4BQSz9s0q for ; Sat, 26 May 2018 19:28:23 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031347AbeEZJ2V (ORCPT ); Sat, 26 May 2018 05:28:21 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:8186 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1031362AbeEZJ2V (ORCPT ); Sat, 26 May 2018 05:28:21 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 65FFFBC4EC988; Sat, 26 May 2018 17:28:07 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.382.0; Sat, 26 May 2018 17:27:58 +0800 From: Wei Yongjun To: Subrahmanya Lingappa , Lorenzo Pieralisi , Bjorn Helgaas CC: Wei Yongjun , , Subject: [PATCH -next] PCI: mobiveil: Add terminate entry for of_device_id tables Date: Sat, 26 May 2018 09:35:08 +0000 Message-ID: <1527327308-69566-1-git-send-email-weiyongjun1@huawei.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Make sure of_device_id tables are NULL terminated. Fixes: 0db7e807fa68 ("PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP driver") Signed-off-by: Wei Yongjun --- drivers/pci/host/pcie-mobiveil.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/host/pcie-mobiveil.c b/drivers/pci/host/pcie-mobiveil.c index f3fbe9d..4d6c20e 100644 --- a/drivers/pci/host/pcie-mobiveil.c +++ b/drivers/pci/host/pcie-mobiveil.c @@ -845,6 +845,7 @@ static int mobiveil_pcie_probe(struct platform_device *pdev) static const struct of_device_id mobiveil_pcie_of_match[] = { {.compatible = "mbvl,gpex40-pcie",}, + {}, }; MODULE_DEVICE_TABLE(of, mobiveil_pcie_of_match);