Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9113716pxu; Mon, 28 Dec 2020 07:00:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJyJ7WhiHw1Q4y+n69V67xzMqMDEAV3B7pg2R0AOpArSecvD9OQd5APfcgbiTNjC2knoszvj X-Received: by 2002:aa7:cd15:: with SMTP id b21mr36214562edw.114.1609167658400; Mon, 28 Dec 2020 07:00:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609167658; cv=none; d=google.com; s=arc-20160816; b=c/IrTn5W3O1z0D9tAwzd19nA1hCW8j1y673GUVUU79wYj6o4jQ4NBs3EOu/fkYSZ0U 2I9VF3rKjfk7SEKpXG42C76udRJ99AVgljW+OsKc8xxWXndi8BkGzuqVE6s9GfAmbCE3 ILPCJg05bSSSsZM6be7GD8KWrNDVR6EcgozHDDHwpsZTHDgnTzem2jjikpny0c/pn7sJ 4RZHmLSdl9a7acG82PxoNikd5HcgnYstuXSw0wxflNTvYtODnK/VWLctQv2l8irBne+o lmedQ0m8X0abOWiHF+nyvGnpvyBNQPWWHuJ5dZY1WXT7dw35XAeGY3jlvn+i0Ji5ye09 KnZQ== 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=jy24CLCZLOEHIY5qsjevbL9AIczZxLKtO7LQ3QFXCt0=; b=T2HUvSeYRDDIQJ4HDnT1WpUIdEnfy+0opkDjvMATyLIxt/ljfx1S/yuaGIqbbQLfJ8 f4ywW2kDLvvaxri1BXW+lxzpYfX6ONCZ/jEvhaiI9/GiQglTVIwkh9lcxWgtMXx0f62z HLMce5xZXh+S6Eu8ireLTqLT5NHq+AxYthsnEHz3o+TQ3wjgIo8C97Mb4M0xp6YPNy0d B3CoXvqrw4MQDZWD75o7+i+eXX2GU4ztdG0DaraIdFRR7JC9TTJO5yRsIWAGeWZe1N3+ jKhFBxrQXPIWp5qHdAlDpCRrlzU3AktMLAd2WXorGowM+p7dDpY3jVansPkf3uggKUmQ FD2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tXIBROPf; 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 p15si14509514edm.536.2020.12.28.07.00.36; Mon, 28 Dec 2020 07:00:58 -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=tXIBROPf; 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 S2440545AbgL1OPB (ORCPT + 99 others); Mon, 28 Dec 2020 09:15:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:49886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440535AbgL1OO5 (ORCPT ); Mon, 28 Dec 2020 09:14:57 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4892A20715; Mon, 28 Dec 2020 14:14:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164856; bh=TimHOi2l3Cn3cz0kU1swTkrhBXrNoxgAWGazdD8RELU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tXIBROPf7k9rNySLBHq03n3qCNCZxBkfoOEMotkWnbckJJVE3vOEFGfpWSWawSfhL NLzZuwzCDx6yS9JCKbnvvgdbIsMHDWcd7ppfa48EEtTYCs+Nj9lbXIsA4twzKTgU8r OiEwdP9oqVCPy/IY+230KEhKuj2BAgx87Fi1fw/E= 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 324/717] cpufreq: highbank: Add missing MODULE_DEVICE_TABLE Date: Mon, 28 Dec 2020 13:45:22 +0100 Message-Id: <20201228125036.542395877@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 9433777a6e0aae27468d3434b75cd51bb88ff711 ] 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: 6754f556103be ("cpufreq / highbank: add support for highbank cpufreq") Signed-off-by: Viresh Kumar Signed-off-by: Sasha Levin --- drivers/cpufreq/highbank-cpufreq.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/cpufreq/highbank-cpufreq.c b/drivers/cpufreq/highbank-cpufreq.c index 5a7f6dafcddb6..ac57cddc5f2fe 100644 --- a/drivers/cpufreq/highbank-cpufreq.c +++ b/drivers/cpufreq/highbank-cpufreq.c @@ -101,6 +101,13 @@ out_put_node: } module_init(hb_cpufreq_driver_init); +static const struct of_device_id __maybe_unused hb_cpufreq_of_match[] = { + { .compatible = "calxeda,highbank" }, + { .compatible = "calxeda,ecx-2000" }, + { }, +}; +MODULE_DEVICE_TABLE(of, hb_cpufreq_of_match); + MODULE_AUTHOR("Mark Langsdorf "); MODULE_DESCRIPTION("Calxeda Highbank cpufreq driver"); MODULE_LICENSE("GPL"); -- 2.27.0