Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9085437pxu; Mon, 28 Dec 2020 06:16:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzUhZfQo/eq3i1uyoiuCLmAd/qgj5b75Aj44S2o4I4kE1a4avTeTSLtmyJ8I1sCymFyV4xF X-Received: by 2002:a50:a6c2:: with SMTP id f2mr42342551edc.7.1609165008904; Mon, 28 Dec 2020 06:16:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609165008; cv=none; d=google.com; s=arc-20160816; b=GSSbHcUmPs01r0NmwjE00i+lJCh8hQIdI1VnrQyVEgMewfm33YxotWlG1Eb3nPVMGw UTZNYUOIdUKz8HTGfA4AwpUovIA0O9lRNNVChMeFGmIPExa4LI5mHjPNXm5psisx8mq9 p1woTiI+BjJ56dBlxb/I08kEcn5wQo8aD+ExFo3RADWwPcv4y31xzwqYyTwRPSFU48/f HxNU/sABoJ5YY/hNAbgWSz6IJTCafcj8tQn9tCHENfwhmk9kU3pmWC8igP+lJZTESPHD SILoLERzIC7We+qB2SdWJmxvlV4vNGcoH695qncq3HKktB+kY6vSlNa6BQEfk/krL3A5 vlYQ== 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=mef0fsMvt5Q85TsxuRs8z6D5GH4GQHmnoxboCKB/f4I=; b=dKJdpxjqOkuIrDbMRaUJGMdxU8V7pE89aJP8GMhjQLuI9XsK17qupEpZ66c/0AmE8Y +MVir4z3ZmWnUy2YU1c9O2gJNiiBQuaQQi14M0JR3TMfOVDXioWd1jtLpynJAc9YEym2 1KxBtMghJ8VLiSqvigxlYf4HhIiCdb1aUdsz8rCWhJ7l0EEKnW+loZhW1HtFaVDKgN4N CwIrG2KtIii45dB/XmWlQdgKqg0bO/ZbXwU7eMBzUB/c39rXpXzG9SaOGKjrcd/gF5+j QXKZfNwbCC5VQ79w4o5vl3FypzmqEO+ZmDPpOFALkK0ygVNqkPGNy6FBoHi/ywHIs4EK dV0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gTcR9rqZ; 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 u6si20866891edy.204.2020.12.28.06.16.25; Mon, 28 Dec 2020 06:16:48 -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=gTcR9rqZ; 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 S2440433AbgL1OOd (ORCPT + 99 others); Mon, 28 Dec 2020 09:14:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:48914 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440420AbgL1OO3 (ORCPT ); Mon, 28 Dec 2020 09:14:29 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 62B5E206E5; Mon, 28 Dec 2020 14:14:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164854; bh=USMpCL9bNvMHIeZ3KURxV+/tP3/hVUWvPmJp/zlBXZ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gTcR9rqZEGpzwy0fOMzfASNbRIombh3YMS0YVXL0okvnA74BxrOE1mlSXcb3uniW0 LiJJREFlSJn39wqhZB08zWsQBb8J6tV/WYxG6NuqC4xCWiXKfzlkTJuJO4XZwH6b32 86RS6EFEMvowI4HbKaYywZR9AEr7BdA00QRpyJ20= 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 5.10 323/717] cpufreq: ap806: Add missing MODULE_DEVICE_TABLE Date: Mon, 28 Dec 2020 13:45:21 +0100 Message-Id: <20201228125036.493834162@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@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 925a5bcefe105f2790ecbdc252eb2315573f309d ] 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: f525a670533d9 ("cpufreq: ap806: add cpufreq driver for Armada 8K") Signed-off-by: Viresh Kumar Signed-off-by: Sasha Levin --- drivers/cpufreq/armada-8k-cpufreq.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/cpufreq/armada-8k-cpufreq.c b/drivers/cpufreq/armada-8k-cpufreq.c index 39e34f5066d3d..b0fc5e84f8570 100644 --- a/drivers/cpufreq/armada-8k-cpufreq.c +++ b/drivers/cpufreq/armada-8k-cpufreq.c @@ -204,6 +204,12 @@ static void __exit armada_8k_cpufreq_exit(void) } module_exit(armada_8k_cpufreq_exit); +static const struct of_device_id __maybe_unused armada_8k_cpufreq_of_match[] = { + { .compatible = "marvell,ap806-cpu-clock" }, + { }, +}; +MODULE_DEVICE_TABLE(of, armada_8k_cpufreq_of_match); + MODULE_AUTHOR("Gregory Clement "); MODULE_DESCRIPTION("Armada 8K cpufreq driver"); MODULE_LICENSE("GPL"); -- 2.27.0