From patchwork Tue Jan 30 09:55:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Chauvet X-Patchwork-Id: 10191501 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6581E605F5 for ; Tue, 30 Jan 2018 09:57:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 52AD82856E for ; Tue, 30 Jan 2018 09:57:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47B77287DC; Tue, 30 Jan 2018 09:57:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E1232623D for ; Tue, 30 Jan 2018 09:57:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751264AbeA3Jzc (ORCPT ); Tue, 30 Jan 2018 04:55:32 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:45313 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751249AbeA3Jzb (ORCPT ); Tue, 30 Jan 2018 04:55:31 -0500 Received: by mail-wr0-f196.google.com with SMTP id 16so10383303wry.12 for ; Tue, 30 Jan 2018 01:55:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=xx5ec3Ad+9NPt6p97tTu9McemfsU0HV61bKqnWVbV+4=; b=cXbK1Y3OwCtSoDwuBVCOw0MmhAsiMJNEypXJ8hM9wO/MNw/+w2o8vT0HiOGqmch2XZ klyFoIuHdKqWux5IrwgBmwDUL7/Q2yq5DLt+x2Z+IXyV9hAPuwjkHosLxKUqYNfLcs9N FDSpt/EyXSP0B4NiEVfr+CWL49ygDUf2Zqsf5yQgNz7bvcnLRLX7hFhxSO73sycJVnhG cvgdYqWiTXqrgnmP342qEmY5rDvlTFmzEi/RYksE5hdkJnMvMawYwPVx/9oxNNy/1HHG K0FjYnsYACzKihqI/SXxm4tjg5BScXkwrjC+8nuiuj1NN8765QGz5RLkhtWJJPkjg+Ti fiLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xx5ec3Ad+9NPt6p97tTu9McemfsU0HV61bKqnWVbV+4=; b=PlpgmlIYtOVmANcf2PplbdNpqWsSUnpJFP9vyG3AGD0v822EdVFZiMSSQJaY2oqZKA HB4hycYGYR6tWkNkV0AWJELlP94MYj1OHtXB4kTwJQfxtLQGJtAfD0gSHwvHyWuAryth CUXYiReP8vrTvb/wQ4twVMxtAW4NaS5m38yuulkJHM4Ozha6LSszBHO4I0nEhEmhKakT rg1MZawky+BaKhvSAr9M9KGabtwOEThWTEnQmHsURg8vI0EmQiq9md9qgjVoOZWxs0e8 1gjEtjwCu3BknmyZjzySiX3QVDP9OmIzLCigLyrF36itEhD9aXZK35fVKzL0W+YzNHVv 1JcQ== X-Gm-Message-State: AKwxytfa9eTfbNe/UKlRre7kZg9rCWZ9dEKxlj5P4sIgBJ13wi7Eqe5l IYThE9BJTkNxNjUQlyy+KzY= X-Google-Smtp-Source: AH8x2272jwqf0rKRpgX8sVK5cx5cAPvz+BlgCNmhYdWBFNqlm87EZ1vMNPFQA+wJ7ksEyBS0M46lPQ== X-Received: by 10.223.134.236 with SMTP id 41mr21351377wry.87.1517306130393; Tue, 30 Jan 2018 01:55:30 -0800 (PST) Received: from arrakis.kwizart.net (LFbn-MAR-1-440-103.w2-15.abo.wanadoo.fr. [2.15.33.103]) by smtp.gmail.com with ESMTPSA id t66sm1475968wrc.21.2018.01.30.01.55.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Jan 2018 01:55:29 -0800 (PST) From: Nicolas Chauvet To: "Rafael J . Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, Nicolas Chauvet Subject: [PATCH] arm: imx: Add MODULE_ALIAS for cpufreq Date: Tue, 30 Jan 2018 10:55:26 +0100 Message-Id: <20180130095526.9478-1-kwizart@gmail.com> X-Mailer: git-send-email 2.13.6 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Without this, the imx6q-cpufreq driver isn't loaded automatically when built as a module Tested on wandboard quad with a fedora 27 kernel rpm Signed-off-by: Nicolas Chauvet Acked-by: Viresh Kumar --- drivers/cpufreq/imx6q-cpufreq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c index d9b2c2de49c4..cef3d46fd642 100644 --- a/drivers/cpufreq/imx6q-cpufreq.c +++ b/drivers/cpufreq/imx6q-cpufreq.c @@ -473,6 +473,7 @@ static struct platform_driver imx6q_cpufreq_platdrv = { }; module_platform_driver(imx6q_cpufreq_platdrv); +MODULE_ALIAS("platform:imx6q-cpufreq"); MODULE_AUTHOR("Shawn Guo "); MODULE_DESCRIPTION("Freescale i.MX6Q cpufreq driver"); MODULE_LICENSE("GPL");