Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9172301pxu; Mon, 28 Dec 2020 08:22:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwdSJtj6pGOIgv7HwjvO6Txog8EE7QUzNOZSg6/aPozKZ+qR9cY3wesYWkNs02ioyXKX4xJ X-Received: by 2002:a50:c053:: with SMTP id u19mr42633569edd.109.1609172527937; Mon, 28 Dec 2020 08:22:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609172527; cv=none; d=google.com; s=arc-20160816; b=fIPIkrBsb0Ax5XeYPTrxwy+hlZcWG/yKm+KMnR/kEAgBUaOyRWJfxy9F1/2ItGcHPX hgf2mFyvsgDz2twCqxV+5LsCIXx4SnhislLTqC6fqUyxL7/nRSngvlu80p7iEqmD/j/X 8u8NdDJ8JTLbgzfcw3xZCAWnwZT2T40jdnWgeePQ2nOIZIVlrT4uZB0QbrXWQsPQKFhS b2i6hDl5xuHiRZgKbr267tug/i6LiNbyM+MegJfWSCFdFZPUon2DWK7KoVJFClLtL2AI Y0seerJhpNOIhA5cNCxjzCnL/nT1y+4lKPgJBEfyvStUXMrDZCA8hJZhToM/W6sr3DGy SwCw== 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=HXnkN09pXD+yTlL764ZFkiPPS/rK5didLfASyeEI5h08NS4EnFBhA8uh5o0jiTL49y wsffcSR6wBJhUhJySgHch1t7tAhc4i5P7TpmDtl7yftKapv9nqiyjxNXxMtxwr4fAdV+ C0P1a/2cDfKrUv8ZDLsQWxpW/2CRtgBFf9D20qANIIJIVatOlU1+X98U1A+Lakyjhnc2 5wKhZASILS6g5MwCUZ/65aVuJjAHjXfdCbB3R3Ziq2oBM/8plp6WUDTANknIhD5Aa7br lTbuTjXeSoOOHnEEdfOyUMcu3QqjwK7IAXPg7PX7UWud89XLoPL16yAcfnZpjDUGbxOz E1Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rklHbjGy; 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 bz13si18629794ejc.437.2020.12.28.08.21.44; Mon, 28 Dec 2020 08:22:07 -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=rklHbjGy; 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 S1732629AbgL1NPK (ORCPT + 99 others); Mon, 28 Dec 2020 08:15:10 -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 S1732623AbgL1NPI (ORCPT ); Mon, 28 Dec 2020 08:15:08 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5754D20728; Mon, 28 Dec 2020 13:14:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609161293; bh=iRrV4hdtPk4eKcU5Iq0aDCH+J2vIQi9boaG6kCWLdjY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rklHbjGy/dNJlFVRYC/1K9IczCDzsTD01OnNrlUD13nW0nsPK+5fbu6nvJE1D+8YT cS+RuMRzdaaJH6C99KBBZFXRDc7C2oqf++CPIL4rQF/gRTP3o51fvKcqPHbQEPYaFs XvyfNVR5OxLEH8FT3W4ZIOTa+KuC6+I1yXde2A90= 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 139/242] cpufreq: highbank: Add missing MODULE_DEVICE_TABLE Date: Mon, 28 Dec 2020 13:49:04 +0100 Message-Id: <20201228124911.549316025@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 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