From patchwork Tue Nov 3 15:11:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 315224 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DB50C55178 for ; Tue, 3 Nov 2020 15:13:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1370320780 for ; Tue, 3 Nov 2020 15:13:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416405; bh=g0c8i/wdirmEYHXgRwCXZZmdKKepVVMI3U4ztkA4in0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=Bl+iLvxVrKHpxkFXyXlGpeWNBVcrlVZXwIJ2n/52KOutNOJexQ1sEC3ATYSW8myTF xV1bIMoAMQBIGvRd+PCi7kgKJhmHbQMpM0yej0QpOAJkm06hR3AD4Ea4f7aBHA+puK 9VFFqAlN9vW0N8oKephVpYCR/FuQ5u8L7gG3CHJ8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728350AbgKCPNH (ORCPT ); Tue, 3 Nov 2020 10:13:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:56880 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728343AbgKCPME (ORCPT ); Tue, 3 Nov 2020 10:12:04 -0500 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4DDF52242B; Tue, 3 Nov 2020 15:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604416324; bh=g0c8i/wdirmEYHXgRwCXZZmdKKepVVMI3U4ztkA4in0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aP017Doc5x9VuinHfN7uLdejq4NF9mpSFQIXl0JILMsrPkXeocGbvikqZ0dY/9tse srta7uThrURjeYUL+3Pznxn407rBhyY6/iu598Og/N+ddVxyIYCI54KWh92LT6mNJk gMn/QNDVyCrQheRzYMcPdewnapxYtHE8NviBrA+E= Received: by pali.im (Postfix) id 7FBBD1A15; Tue, 3 Nov 2020 16:12:01 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/9] cpufreq: loongson1: Add missing MODULE_ALIAS Date: Tue, 3 Nov 2020 16:11:37 +0100 Message-Id: <20201103151139.29690-8-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201103151139.29690-1-pali@kernel.org> References: <20201103151139.29690-1-pali@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patch adds missing MODULE_ALIAS for automatic loading of this cpufreq driver when it is compiled as an external module. Signed-off-by: Pali Rohár Fixes: a0a22cf14472f ("cpufreq: Loongson1: Add cpufreq driver for Loongson1B") --- drivers/cpufreq/loongson1-cpufreq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/loongson1-cpufreq.c b/drivers/cpufreq/loongson1-cpufreq.c index 0ea88778882a..86f612593e49 100644 --- a/drivers/cpufreq/loongson1-cpufreq.c +++ b/drivers/cpufreq/loongson1-cpufreq.c @@ -216,6 +216,7 @@ static struct platform_driver ls1x_cpufreq_platdrv = { module_platform_driver(ls1x_cpufreq_platdrv); +MODULE_ALIAS("platform:ls1x-cpufreq"); MODULE_AUTHOR("Kelvin Cheung "); MODULE_DESCRIPTION("Loongson1 CPUFreq driver"); MODULE_LICENSE("GPL");