Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41A90C54EAA for ; Fri, 27 Jan 2023 04:17:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232229AbjA0ERT (ORCPT ); Thu, 26 Jan 2023 23:17:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbjA0ERP (ORCPT ); Thu, 26 Jan 2023 23:17:15 -0500 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D590728DE for ; Thu, 26 Jan 2023 20:17:06 -0800 (PST) Received: by mail-pj1-x102e.google.com with SMTP id h5-20020a17090a9c0500b0022bb85eb35dso3740291pjp.3 for ; Thu, 26 Jan 2023 20:17:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=P7ZY02wnB++PrtjjVebywq2P+KdwsUUnvCgPrCN1viE=; b=O1dz04cJ9kZB389iORyVGSppE1KZyeImi1gkXdGZe+K6gTCkXMDsrzWFY/B1rG4uZY WsPe9B61kEKUrWaOtn/KkG6VGyorkeI4CgGpvzq6csEgwlPPcRRrjzHlnFBjGsjXGswi oT6I1R0Xe+hMpv8JH4B+88d1P/RDoM0LUxCyqEqup+80+okrXb4RLJEhfuYDlZOVDdk8 F1yifj+oHz0wluaxO0aItc5lHE2nkkpE4zSGTePtL3m2rC97jKI7OdX6HI5d1++8Bo4R yFi8Lt5dD/yR+jk2yiQnLMmMnhDFfRBuyQ5mwGOyZNHEfWzjpnQukJwrjtnx+5aFNESG qMGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=P7ZY02wnB++PrtjjVebywq2P+KdwsUUnvCgPrCN1viE=; b=nlepJGM+seOuUImKZ29Ia8O6DQ6cyjPTZt73HB1Y2tBc2MHppwp24SVw69oVByQaHA npyGTaKWNSoH/VZ+hbEFu4cUDpx40bxuEFOtfGCjyXLlRcnSD6edCAc9XOEwLFrSbqCg XYxGs8UehCYmCOFQYI9GUanNtf8+YmUDUeyDmWV6UTuKRwIOUDSIy5QcoZTNG9r60QO7 OIXOT3bn7zkxGE+FnJCp05A4ag1P9dityJhV2glZqDOsTux3+ojCI4wKvKXU0NZ624n7 ymms/g23b9bhYyxQrFAPgjA8O2qOmedTkan/PPzLnXpo4ijsPJAyTfDxebAKyvlWpi19 117Q== X-Gm-Message-State: AFqh2kq/rBqFctEQPvLl9+5wIB2kI7R5wbdu18elaVsxe0OremhYl2Xb GbIcVVJi5FxfAV5sGw0T7rSoLw== X-Google-Smtp-Source: AMrXdXviEje4NBqjKMkEyy4TLr/lPqx6nBeGPG8VZTMVcSSpAEjb5nSV2Wrb7k5N2Pep7SUuznqsXg== X-Received: by 2002:a17:902:6bc6:b0:194:9c69:290c with SMTP id m6-20020a1709026bc600b001949c69290cmr34716033plt.67.1674793026085; Thu, 26 Jan 2023 20:17:06 -0800 (PST) Received: from localhost ([122.172.83.155]) by smtp.gmail.com with ESMTPSA id x7-20020a1709029a4700b001949b915188sm1786613plv.12.2023.01.26.20.17.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 20:17:05 -0800 (PST) Date: Fri, 27 Jan 2023 09:47:03 +0530 From: Viresh Kumar To: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado Cc: AngeloGioacchino Del Regno , kernel@collabora.com, Matthias Brugger , "Rafael J. Wysocki" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-pm@vger.kernel.org Subject: Re: [PATCH] cpufreq: mediatek-hw: Register to module device table Message-ID: <20230127041703.325luwaf47topv4b@vireshk-i7> References: <20230126154856.1322193-1-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230126154856.1322193-1-nfraprado@collabora.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26-01-23, 10:48, N?colas F. R. A. Prado wrote: > Register the compatibles for this module on the module device table so > it can be automatically loaded when a matching device is found on the > system. > > Signed-off-by: N?colas F. R. A. Prado > > --- > > drivers/cpufreq/mediatek-cpufreq-hw.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/cpufreq/mediatek-cpufreq-hw.c b/drivers/cpufreq/mediatek-cpufreq-hw.c > index f80339779084..115b0eda38c1 100644 > --- a/drivers/cpufreq/mediatek-cpufreq-hw.c > +++ b/drivers/cpufreq/mediatek-cpufreq-hw.c > @@ -324,6 +324,7 @@ static const struct of_device_id mtk_cpufreq_hw_match[] = { > { .compatible = "mediatek,cpufreq-hw", .data = &cpufreq_mtk_offsets }, > {} > }; > +MODULE_DEVICE_TABLE(of, mtk_cpufreq_hw_match); > > static struct platform_driver mtk_cpufreq_hw_driver = { > .probe = mtk_cpufreq_hw_driver_probe, Applied. Thanks. -- viresh