From patchwork Sun Aug 21 15:41:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9292385 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 90167607FF for ; Sun, 21 Aug 2016 15:42:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82C99289FD for ; Sun, 21 Aug 2016 15:42:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 774E7289FF; Sun, 21 Aug 2016 15:42:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 08692289FD for ; Sun, 21 Aug 2016 15:42:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932520AbcHUPmX (ORCPT ); Sun, 21 Aug 2016 11:42:23 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:34669 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932853AbcHUPmU (ORCPT ); Sun, 21 Aug 2016 11:42:20 -0400 Received: by mail-pf0-f196.google.com with SMTP id g202so4730730pfb.1 for ; Sun, 21 Aug 2016 08:42:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=r8oY60/I2klSsnK0+Jx3ZFiLZ/LIzTEUnLhoxcN3Glw=; b=Sl6hPOiaApOMzsuEDgTPZE5l3dEUDDnIHYkKB3hfvtYOKQ0MrL7H0izaylMOe/1MQh mIys8zE4BNeSj0y3+2MLsH21IyiVdxTlvVVm9Ssd9ssZ8hsv+Vyaa8FPDe3vABmgyDkZ SZE5SKSjrlHTwhRG7nuh3ODWvvQLLrYDvGFkIRT4Gr+oVrw3jjzljpZTCScxWsmAxk1o 6Y0/wOUQrlTx0OVlNGWjqb0jsJhPV4Bx/Y+WdklRF3RjCpXMTQ/+ixGguSS7sQHpm5IL J4U6fbiw0hKMeZUMZBie7yBI6YyUb5YhQigpxA9tR8/dN4RrqdCDFVRNfhi2G28xxWo8 uAHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=r8oY60/I2klSsnK0+Jx3ZFiLZ/LIzTEUnLhoxcN3Glw=; b=V8Bky6WgO9zL6a+gKd/kGkeZBWa5HbwIFdGB/HtC73L/uVRrawgP+N8/KHTCsVL+u/ 3WaPN/Yzdgr3iDhsOui6XWhXlkvlqGNf4K0+wQUrBtdAC1p+rg+3ZqaujhOyKj7k33+x aZfBivSZrSDYh2Qs2isSlQ6Ei3dTBgZNAiJWZbULBzxsLiH28ctdG67/LuVfRbkyS8lM 40WmC3hUUralQZUOg4CWJnvVPyqYnBkRHWpgc3WjIQEOLRiaF1uEjBCPWo1YTqZicrGV SXn8jo2cunXKHSdfHfVyD8C15GEEui1v0BJGo5bO6Lac9vMZ0HV2Dj5s8tiETXQObb8c 9tSw== X-Gm-Message-State: AEkoouvJ3ITAxFQQFLLcxmSAbQBUgp8k9I6cHKOQ3UxCfI+JJ/PgeVd2xXCGxrqsjc8baQ== X-Received: by 10.98.11.86 with SMTP id t83mr34021656pfi.51.1471794128264; Sun, 21 Aug 2016 08:42:08 -0700 (PDT) Received: from localhost.localdomain.localdomain (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id 15sm20864654pfz.36.2016.08.21.08.42.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Aug 2016 08:42:07 -0700 (PDT) From: Wei Yongjun To: "Rafael J . Wysocki" , Viresh Kumar Cc: Wei Yongjun , linux-pm@vger.kernel.org Subject: [PATCH -next] cpufreq: dt: Add terminate entry for of_device_id tables Date: Sun, 21 Aug 2016 15:41:44 +0000 Message-Id: <1471794104-31436-1-git-send-email-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Make sure of_device_id tables are NULL terminated. Signed-off-by: Wei Yongjun Acked-by: Viresh Kumar --- drivers/cpufreq/cpufreq-dt-platdev.c | 2 ++ 1 file changed, 2 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index 470db30..285ed3e 100644 --- a/drivers/cpufreq/cpufreq-dt-platdev.c +++ b/drivers/cpufreq/cpufreq-dt-platdev.c @@ -75,6 +75,8 @@ static const struct of_device_id machines[] __initconst = { { .compatible = "ti,omap5", }, { .compatible = "xlnx,zynq-7000", }, + + { } }; static int __init cpufreq_dt_platdev_init(void)