Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9181432pxu; Mon, 28 Dec 2020 08:36:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1yJ6Twn4B88SFvO7SNj8cX1YrufgBYNjbkyyU5D8ah4MnUqwndG022Y5XPVq7G1EUUfyG X-Received: by 2002:a17:906:8587:: with SMTP id v7mr41257178ejx.381.1609173380408; Mon, 28 Dec 2020 08:36:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609173380; cv=none; d=google.com; s=arc-20160816; b=shaRCNfc5rmfP+gcb9XTZX5KtCHL5xy4sP1gIYnY2AktPMbtIUbW+ATjTBNPFze7XV 3ZMhqC2vHY+LE606AhcZj26Rx2FOY8e1w12ZbOJbLoa7cNotTgSF/BzqoTyDgR85RNQO PWjlBxyURnuw4MxyvinT+OVTqN08sUl++gWwllj8EmQwVVCi9qbijdXzsjKS3VlpCkTG fATKLb9gcXNGB9ZK36/GZC/ZO2Dos/k+34XNAVjX+rxa/CsnKi02TfOD12Lkhuw1ofvz A9+N0IpYwaKsscP9QeFZlYWSFhLSMNdTq9KCSBCprv2Jjznd7MLX1xYOpXnyisVK+wLW cF9g== 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=MBPslw0ZyGmnrvFVSRoY11m4kfVyIA4M8xdUKOLSFSE=; b=hURkWwRvM1kv5W351vbPig3B/zetUujBssOdLUpJFGeP8RznS3umXzx/Ooj2GxItcO pROQSpT0f0NZeq3gy7nM5TRftN5oHxu39qW69QgY+Vy1CWcyOLnrZca2YTawvP0ibv8C pRyhmOibFULD16pMFQA2jaDl24xQwy5VU4SQ3Vd0yb1WlaUh6oGjKbLxzS8gSnVZVEI6 K/MJBePpFuLhsP1JO47jxTxgB0QjsuO85EbSBNkyqN6awUBp8PShtSOQoF/INirFzbhz R323MCOhf3Y7e4NyXQNTrf0P+VRGJBUQLS2xVn/+GQjdQK1pEDI1a8kGHVacrYUsQsfR tVCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RJSie41m; 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 c22si4938739ejd.523.2020.12.28.08.35.58; Mon, 28 Dec 2020 08:36:20 -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=RJSie41m; 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 S2634140AbgL1Qd6 (ORCPT + 99 others); Mon, 28 Dec 2020 11:33:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:59750 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730249AbgL1NDg (ORCPT ); Mon, 28 Dec 2020 08:03:36 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6F9F7206ED; Mon, 28 Dec 2020 13:02:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609160576; bh=iRrV4hdtPk4eKcU5Iq0aDCH+J2vIQi9boaG6kCWLdjY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RJSie41mo+TjWgGYjivs58mJity1GEsYjvAzYIP/O12uTCEClrvVJoKu1MwL6BU/Q zvPuoWIFjumJWXMFVTjcys3rHMygAUQ5OUUnuTwwhrC+iGEenhU2N2DzkEj0tffRy6 /SDHbt3UI+ghpkxpSXGJdTYkLx5FJ4dKIVSOt/Dg= 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.9 098/175] cpufreq: highbank: Add missing MODULE_DEVICE_TABLE Date: Mon, 28 Dec 2020 13:49:11 +0100 Message-Id: <20201228124857.990371427@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124853.216621466@linuxfoundation.org> References: <20201228124853.216621466@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 1608f7105c9f8..ad743f2f31e78 100644 --- a/drivers/cpufreq/highbank-cpufreq.c +++ b/drivers/cpufreq/highbank-cpufreq.c @@ -104,6 +104,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