Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2098289ybl; Thu, 30 Jan 2020 11:19:25 -0800 (PST) X-Google-Smtp-Source: APXvYqyUr2aXQvjvFitO1twR6CvvpNTRKF8T/aZlHaIW1hEZ4YUt1pIhfD55xuezk5YyhNXqM5nE X-Received: by 2002:a9d:6c9a:: with SMTP id c26mr4549259otr.279.1580411965445; Thu, 30 Jan 2020 11:19:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580411965; cv=none; d=google.com; s=arc-20160816; b=mUxyQDDMVnXuHKYuPdXdHE6js7+TKSnS2pmr5Zpqk66X0TznY3ihxTeP9Ao/Lp+KVl 9oJLRTmhKiMNwKo4YB9D2ET6Ih9qgzyDWjA2A8RGoXUWFH62++f7XZWyoZ5Me5Z4yCeV GgCiPs2fmSlIIAWmbSkqkeBcR6k/OQNkdFdpjBx988pgbdOClc4msskug08hLwaPl9mu yKALY3fHCWjn83tX+JSH3zGI7ZxUckr6x2mQI7ffS+34p5X5/IeKhOPIEVzMD/6L06se 8+ZPyFDD5wug/+yXVRkpEiXzbl+XTWV3ycP2575f+EXXSXez1QxZ63OR0fIYIw42ybz0 +J0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YzRyoTubhGHpZjQsWih6qRSJesvjLdcyR0QnKKNJ30A=; b=QcFbiHjyGlWXnIErPUMpuMbTDUGDIqw9e9F7oClKGvRgxgxBr1136vu3ySwPdz35Pm nk2UxEh/ilQnmPr4V76ymDR6TA8utUMxAZTKJZLbRTyyRlKxu9nCYvbpdJkoGmqtMI4v AHEzVH5yxc+g+ar+T0wyDGIUpV7YOaKBrlsm52MU6EHg6ydlsjQ6YzwebQ1HLHPFq1ev NPTMT6ZsnOeF9CA2NoDtvja2v9ddmhkuFuH6TUE8qglvtUShNL5rQC/DYnvh6yHHVYaA awcYdklvBY2cWT9zjV9zWXZyGAMOT6TqGXc7GetjOezHR9DatH/3Z3/SpJQkIksVLk61 y/0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rbKtaDbX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q19si3556841otm.221.2020.01.30.11.19.13; Thu, 30 Jan 2020 11:19:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rbKtaDbX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731079AbgA3Spn (ORCPT + 99 others); Thu, 30 Jan 2020 13:45:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:55390 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728079AbgA3Spm (ORCPT ); Thu, 30 Jan 2020 13:45:42 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EB933205F4; Thu, 30 Jan 2020 18:45:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580409941; bh=g5WpGPKoyfEqCm6F7JEqL0fGq3xpDnVGuTwzVQXbujM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rbKtaDbXJAcmQDkkr+t3Lq2V+uupaMNSBDNleTFmq8w3oVLmu1+Gdjk3VEk6mreFr jzghaZAd01V3okxw81AJLfN0XdYenCTiH9zcCty8cTxNiM8Er+LvQ1LpgnkA1BLbIN eR4N3xRwOVqSuH+wFfZ4IyTnS393FH/4pOjEtgc0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ben Dooks , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 5.4 091/110] ARM: OMAP2+: SmartReflex: add omap_sr_pdata definition Date: Thu, 30 Jan 2020 19:39:07 +0100 Message-Id: <20200130183624.887010789@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200130183613.810054545@linuxfoundation.org> References: <20200130183613.810054545@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ben Dooks [ Upstream commit 2079fe6ea8cbd2fb2fbadba911f1eca6c362eb9b ] The omap_sr_pdata is not declared but is exported, so add a define for it to fix the following warning: arch/arm/mach-omap2/pdata-quirks.c:609:36: warning: symbol 'omap_sr_pdata' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- include/linux/power/smartreflex.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/power/smartreflex.h b/include/linux/power/smartreflex.h index d0b37e9370372..971c9264179ee 100644 --- a/include/linux/power/smartreflex.h +++ b/include/linux/power/smartreflex.h @@ -293,6 +293,9 @@ struct omap_sr_data { struct voltagedomain *voltdm; }; + +extern struct omap_sr_data omap_sr_pdata[OMAP_SR_NR]; + #ifdef CONFIG_POWER_AVS_OMAP /* Smartreflex module enable/disable interface */ -- 2.20.1