Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9227645pxu; Mon, 28 Dec 2020 09:51:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJxo2kmZnh2G+N/XrJgrn+Ib0NPhDBkE/kGpkWT39RxMYU5FCHx9ljLDS/mj6ywrDSFqYMRW X-Received: by 2002:aa7:c919:: with SMTP id b25mr42025075edt.108.1609177868594; Mon, 28 Dec 2020 09:51:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609177868; cv=none; d=google.com; s=arc-20160816; b=jSNZi2gMPSKCGkzhVGFDNT0nEXb9nvOHqGoZjo4/faFOdbZWxR3/9U+umqVVzDvX/L cqjlf6IQonDzf1kg6BGANUBdVFAMzMexA9ZclAwvmgitX82r8nnY6xpU5kbYGaMIl7Ic Q8LkUDxAS+u1Gh/QpMj11xNRwOlcKlpZ8h3cMpye8rwi/UmYvFgKP3Q7P1feuOZs1ioS 9DEIXCK023HAbBX5hlnhbbzUfmkzfflTDb/XbJ8RVnXWZCxNIARD+o934D9RNaOgOyUS fgiIb5xW4F2zqfh+566wy0+Srm/UCOK15uj9bIQbDxrDad8/y34FpF5uzYlD+3gatJPM IXEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6q1PoXKSHTMWYuBl+dOaCscVc31wUctmU91Cgvs3DGA=; b=uffdSUswsPLNbtKBV5o+uV2QfP04bAwtCfSe4Car1P5Hs0czkP5FyjksTLZGmkPo/J b4AdQ0bMGAO8rFNsV+aJ8Fy6ZuKDiTiHOCWH1JdNCYa9m5pYXtOqOBBJnQE7pyaVEt2H rWPEk3e4mXClYOx+kHqQBnQQxjiLrEqbqEeD3L8j9j6mF9ISCKZT1UxNaHZXtoIifJ8R hiVJqoDNrELkyxC2379L03EIUFJkU5xa0pVLkZ30NgzZDgB69UfWL6vS9MGsHIMYACWZ rPM2ADi+Q7p6apduAZ4MLV8t+XLStV6cWg69cifE5GEVdM1xYD7R8/bsC/R6D4WzruVm TvJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JIc7bzts; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cb6si19195235ejb.459.2020.12.28.09.50.46; Mon, 28 Dec 2020 09:51:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JIc7bzts; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732690AbgL1NP1 (ORCPT + 99 others); Mon, 28 Dec 2020 08:15:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:43010 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732681AbgL1NPY (ORCPT ); Mon, 28 Dec 2020 08:15:24 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9DBC622CBB; Mon, 28 Dec 2020 13:15:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609161309; bh=GwNU0oCArP9wD4hGiS8dtxojw14e/YZIN+7zAXewmyA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JIc7bztsCM7Ry4s+CmSl/mJB9Zd2Ah/vofG/hAAeP4WHY9YF2DIsyUe/UYsjYbAx1 zBWEFTBy8nKcQrY7y9LtUsvAU6euFY0Vf67r9dXzTrSCVdGAmoLuN9LgJdpk6iYGxc n+mRGoRN7p0YHSe8Btm8S0sNNucrFKylTfpMmgGw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= , Viresh Kumar , Sasha Levin Subject: [PATCH 4.14 141/242] cpufreq: st: Add missing MODULE_DEVICE_TABLE Date: Mon, 28 Dec 2020 13:49:06 +0100 Message-Id: <20201228124911.643314936@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124904.654293249@linuxfoundation.org> References: <20201228124904.654293249@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pali Rohár [ Upstream commit 183747ab52654eb406fc6b5bfb40806b75d31811 ] This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this cpufreq driver when it is compiled as an external module. Signed-off-by: Pali Rohár Fixes: ab0ea257fc58d ("cpufreq: st: Provide runtime initialised driver for ST's platforms") Signed-off-by: Viresh Kumar Signed-off-by: Sasha Levin --- drivers/cpufreq/sti-cpufreq.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/cpufreq/sti-cpufreq.c b/drivers/cpufreq/sti-cpufreq.c index 6b5d241c30b70..2d09960afa591 100644 --- a/drivers/cpufreq/sti-cpufreq.c +++ b/drivers/cpufreq/sti-cpufreq.c @@ -295,6 +295,13 @@ register_cpufreq_dt: } module_init(sti_cpufreq_init); +static const struct of_device_id __maybe_unused sti_cpufreq_of_match[] = { + { .compatible = "st,stih407" }, + { .compatible = "st,stih410" }, + { }, +}; +MODULE_DEVICE_TABLE(of, sti_cpufreq_of_match); + MODULE_DESCRIPTION("STMicroelectronics CPUFreq/OPP driver"); MODULE_AUTHOR("Ajitpal Singh "); MODULE_AUTHOR("Lee Jones "); -- 2.27.0