Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9442570pxu; Mon, 28 Dec 2020 16:43:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJzU4LN6uGcKje6J3K8DRNlDtb1nw3uekohyBFHbyn6tIV/8zcXlTmOO57zNdIjKNZMpOa/w X-Received: by 2002:a05:6402:c0b:: with SMTP id co11mr43436211edb.180.1609202589680; Mon, 28 Dec 2020 16:43:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609202589; cv=none; d=google.com; s=arc-20160816; b=qy9QdOtVQhzVM9KZuJY6SPV//1L2/lIJBRm9EiSroT8T50ULWwftE+ffKnnxBmUZQR Zyzq820/zH1j812/Iv1jzowgc/hkGw+gzeGBsugZuSakK8fo7I4s1RP33g5jSjS19qtT 4E6D+3xENjqMfSY/cbJ5amSBjmGJ5xXvbtF/7HyIXtkIdAL258wXSmEvBnjuS6Xb+rNw yvzXF0zksrG4EW1AZWbe1XWjF67o5mgZc7XPM0tITZrYn5lNs4hNvqeB8JeDNxMBRob0 DK8u//IQ9PeDAoZ36vS5Fpc+aNH+YpNH/AeFU9LwdbBdJex4PceGWk0/6DSLoFCIob2k G11Q== 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=upAik+jgRpUnjKwhZedSjd6l2HkSg9wLMu2DF5gozBcWakP+gcKDNfmdXpuy6qEwl8 xNhbQIrSA1A8x2vBSqfMy8ls7Yf37KYazTjEFs82saSM5vmP9dvFMCvZrDbqSNEEbAot 4L0sUb01YwqEuz8BL8Sq5hDL5/m7I1JZ0fHT1JxlE0KjW1nL7gocdivjr51OsBxzUJL4 Zl/IDHy87zSTWAGqyCjLJZ75DyWnp93lh5ATF9L8rlMqLCGmDYp3LSLUYEeGDfDBh96r /1YuxId10KK0iZit9LHBa/2uJB8NyxD23dj691dEt07+1xZFEHqpBewjpWlJVcNbJ+8r t7pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2BdO60mR; 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 j9si21226043edv.261.2020.12.28.16.42.47; Mon, 28 Dec 2020 16:43:09 -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=2BdO60mR; 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 S2391182AbgL1QCh (ORCPT + 99 others); Mon, 28 Dec 2020 11:02:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:58788 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390095AbgL1N34 (ORCPT ); Mon, 28 Dec 2020 08:29:56 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C435420728; Mon, 28 Dec 2020 13:29:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609162156; bh=GwNU0oCArP9wD4hGiS8dtxojw14e/YZIN+7zAXewmyA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2BdO60mRNVPBwLQNv+g1Bu0m9eGumZ1nY3xy0tNQQ/HZS5rn32Z0ja1DH2RR/JvUX dJep31F8S3Gfzz+W/ulQxq6MSWA8VKW5ioZuLpz9cMOdNFISnhxYuxf5wsritdMynv 6Frc4phRbSrHDwy6pV9bwlXlGKtFPd7DSUJ0xAGI= 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.19 206/346] cpufreq: st: Add missing MODULE_DEVICE_TABLE Date: Mon, 28 Dec 2020 13:48:45 +0100 Message-Id: <20201228124929.751331996@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124919.745526410@linuxfoundation.org> References: <20201228124919.745526410@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