Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp214993lqj; Wed, 10 Apr 2024 08:25:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4x7V4i0dNdDzHr/OPtO4Ml2n/ngdmCoGDTX22rH/TY6+mGmzwP8ERqx04gHbXhAlB23LNo71Ry05R24TBFz+Q6zBtZjleJsD4DyqIdQ== X-Google-Smtp-Source: AGHT+IFF1VMAZPT7+uZND/9/B+alO5UOYupW6lBR2jMi+PkbXoyxA3vF+yfHyBSKw5sstwSyIpsC X-Received: by 2002:a05:6102:a51:b0:47a:2e00:849c with SMTP id i17-20020a0561020a5100b0047a2e00849cmr866886vss.25.1712762757846; Wed, 10 Apr 2024 08:25:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712762757; cv=pass; d=google.com; s=arc-20160816; b=cnFIHC36WkgL8EenWK04/PcUzO4+Avor3cT+TwZXYkwCK4DUtANYX4n6bvyOB1EaMR jOJa8Dmhn8YzpqM5e5fyZQnSDb5rH/ZV4bSrtGAR9jh7B+aEwUikamjIqEwtJ4e1rtsi 4S+J2HSLPvswcNsQufRan+CvvVoX0/aFg0ma8wZuuqoij5iKna9hwgrsgf1OQd6we0lU BxjF9Euci8Cf9zIjDQ4jzQw4wLeq0xye3fxj85wV1bFFq3/7zsl6n93NlVzX+DdSQOG4 C+Fq5u7yt2cJ9L3MH0YrVFQou9b91bER2HJavwHW+3AsxEpFMtVVg65o4Hg763KYBEua KC/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=xbodHPoIGP6K9GRbAY9o+RJc+LUWm0jEUjjl0f6K8vA=; fh=3ufxikuMIwIe/1OIsvzjFqxH1E/PKMUK/zg87y9/ZyU=; b=mETGlZ7XzPVf0MNKO223b84ARHmwK5htsJPN0szfW5b5XyMNyjmsXzbdCexbYPYAHN aTpryP4IXgtKwiCmhuI7/wAsk817qOqz/y22DKAJcA2toWN/oL+onc9Nn9MSQO5Bv6Nn 67c9BxAcbI+klwtF6M+MVg1zgnidC35p16UMJP0DnVnLK2b9RaKi/4Ey7WE24R1RvAJz drCBKFMVxdeZhEqwi/3chdS8p554uWLJrljQDFt1VxS24320SNv9d3NGyJdCThw9/e5C kTjaMncnKKDAPKqyEL+67n3oY51I72uC6WNU3F7HMzzK3EtoFyDynTjscCG6AgpXksbk gKEQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gjZ2Bc+E; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138869-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138869-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id jw4-20020a0561024a0400b00479d5dc2174si1542656vsb.817.2024.04.10.08.25.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 08:25:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138869-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gjZ2Bc+E; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138869-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138869-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8C91A1C210FF for ; Wed, 10 Apr 2024 15:25:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0704F16DEDA; Wed, 10 Apr 2024 15:25:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gjZ2Bc+E" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32DDA16DECB for ; Wed, 10 Apr 2024 15:25:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712762741; cv=none; b=NuckSwRgdlpRakeF1L7HfCPwNLNrSa+UUttwHKX37Kjx+GFL4dqho8Jk/Hi/IvzCQk4e26MESPFuDreZtl5uQlvyTZWxQl5hSZb0L6fwLyyLYhPaUPq9bbTpu1x8uNKToAO9WwSD7iB13lS3DJRDSzlSY9j+lFUwiCKIqbPOI88= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712762741; c=relaxed/simple; bh=Nqu+9dKEhjC9kwrawShWr3dtYD9VLYMStsi3if+IvzE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=SAp/aKoUmdCEINAKF9J5NmLQs05AO0jiH4ehtkbwPv/RTkZRvlaiWAvCZHTibg9ZVvBlElgkmJF0jfEz05FBs1b9LB9PhV/t55jRSdeVy1a2i8eK/v9dKA9xr0MS441lEkaUN3jb8h4ZVz5jzvAYIxf2UnHocwqETN3hvc0xXIE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gjZ2Bc+E; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22978C43394; Wed, 10 Apr 2024 15:25:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712762740; bh=Nqu+9dKEhjC9kwrawShWr3dtYD9VLYMStsi3if+IvzE=; h=From:To:Cc:Subject:Date:From; b=gjZ2Bc+E4cT3wA8GAem+w6X9VRG7fkY20Q4/K0PkLiL02OIaisKhKe+Wi8eMTIJWc Wr6sb3tUJxHK3ZlHalfgYtweIe4gLL8sJG7jNpvAG3/qxz8VdF12UmrLFIwrfeZyYQ 1K/GSM1ZAhbuHTNmM84M/+f3mx0vJXtda+mGQWuhlExj8AlmHC27xBYDrrEMI367yl v3JiSCNeNP/+wAYreBOsx7442EXytLqS7mnbW4Y/QqWnu9C1lXRsGhfvQp01j7fmDw UhgSCaOBwbZuc1rfWIoB9ZD99Wq8OGMIrNeNJv1sNzxgoYv1Q32/9G4sQAWnCHnsG+ yliVcTh1Q0JzQ== From: Krzysztof Kozlowski To: Jassi Brar , Matthias Brugger , AngeloGioacchino Del Regno , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH] mailbox: mtk-cmdq-mailbox: fix module autoloading Date: Wed, 10 Apr 2024 17:25:34 +0200 Message-Id: <20240410152534.190326-1-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add MODULE_DEVICE_TABLE(), so this module could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Krzysztof Kozlowski --- drivers/mailbox/mtk-cmdq-mailbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mailbox/mtk-cmdq-mailbox.c b/drivers/mailbox/mtk-cmdq-mailbox.c index ead2200f39ba..080d091e28ac 100644 --- a/drivers/mailbox/mtk-cmdq-mailbox.c +++ b/drivers/mailbox/mtk-cmdq-mailbox.c @@ -765,6 +765,7 @@ static const struct of_device_id cmdq_of_ids[] = { {.compatible = "mediatek,mt8195-gce", .data = (void *)&gce_plat_mt8195}, {} }; +MODULE_DEVICE_TABLE(of, cmdq_of_ids); static struct platform_driver cmdq_drv = { .probe = cmdq_probe, -- 2.34.1