Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp263832lqj; Wed, 10 Apr 2024 09:41:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXADRYgFh9FjKGWfa3sdgdMmf04aYThH/uxTH6C2FklfuxgDEqk+y7b17YWoxV4I+fyLbG9Ffg8RiX90Rl8vtKE2GncOXeg0/niFZqjnw== X-Google-Smtp-Source: AGHT+IGwNKynK5VcleY4SQs0uqwBhRr7m+ap4hKPTlZQtaodZM8FzFRqVwzmRo1XiuJbd7lsHDdM X-Received: by 2002:a17:902:e5c3:b0:1e2:81c1:b35e with SMTP id u3-20020a170902e5c300b001e281c1b35emr3573561plf.54.1712767266455; Wed, 10 Apr 2024 09:41:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712767266; cv=pass; d=google.com; s=arc-20160816; b=Im9649/wupBcqMcpZi+fTjBbqeyScDF+MMQTuMfpaXuigwj54KV9LsSHeNJSV/C6l+ +TMj66mKoXObHgLs3HYjXX+xgz2ipESse5aj6VLNU8DwLRDZHUSsmiYm8Tc7BL998R7I eoscVlYoXDmkPhdc4y1wFotCBoXJqMV0bCeofGpeGPlwmVKTRWfShPN2A2pN3wYcbDjk gW6jYSY5jsWDjDVn+Z4IZkbzgip85HhDozCGoIj20yeu5ro0pfM2T504UPhDE0ZGp3PS W4WpgoZsuOpkXE5yUfeit70vJosxGKdqPfrjQ0lx+/DatlZdJ4yjBcOfWd6vGQYxpl08 xQWg== 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=D7Ilo0Nff4EABYJh4bIlA7ry0h7aif0VKo6BwQmRLKo=; fh=C150GA1bWTvFBh9HodraJjYyaUBiBnwYUR0GlO8Cvhw=; b=Ip4eO2U9NzWQDt09kkncfoKM2Z698PQwK3XtT49sUxlet4CR1jLR20w+KW94c5To6K 6KHBfNiJ1o7Zp08LTqkWX3Z9/ogW9tLteanX9P7LjzWsX33SBIi8o4cdbh7xXw3ThwWl OZFSOWiy/7ljPfEGajroJVJ3ypwZcuvzWT5/G6I38ludc8edX3CsNpZow14xh1ESsOYn w7e5cFkSx5asM+pTWcQNm2dXr6wIn8lzmLKveOUErf6SK4Ys36hnHIbGugNu0XsKtatW ttNxyIJAERQl10b3oD+QbIPlhu24v3dG+PKetcy5XBQu7D78A6uuGVpQ/0K7t3fhoqNO G55g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gjmHgrer; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138997-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138997-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a2-20020a170902ecc200b001e2a5cb536asi9376844plh.496.2024.04.10.09.41.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 09:41:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138997-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gjmHgrer; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138997-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138997-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A5A682831C4 for ; Wed, 10 Apr 2024 16:40:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD44C17B503; Wed, 10 Apr 2024 16:40:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gjmHgrer" 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 D26A517B4F6; Wed, 10 Apr 2024 16:40:52 +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=1712767252; cv=none; b=SfQShE0L4yQL9k96Yh1UFEekTGD6yJgeOo7mcCa2t0kvZAuZlRfjBz6WSccRh/d4FV3cnxKdgi5bu4t2u7DRaIfcSF6fMW0DzDxh8ZNEn4bGW3OtGEG1+lW0oRQ4YaQEKnxsItMvaPI7SCC9zsJQgcG7wKYOp7sHuTZuQn2XX5U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712767252; c=relaxed/simple; bh=KOU/+cRYyRbG+aq9HbB97jsGWFQhqt9Ty44V8bZlbPk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=jphrGvmKo9HuF7bUJhjpkDG9tskUcytgkONhOPeMrI+5G2y4abNpFm511poozGhhuabdkF785JSlDbSoIGGNthEwixg+QQgKQC5YwkRnNKQUgO3CRse2nPLf8s2QDN8BRIhEiqQD/EplCJFUBBMIs9IqSzdyeVVkfUvkoVOiRz8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gjmHgrer; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9213C433F1; Wed, 10 Apr 2024 16:40:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712767252; bh=KOU/+cRYyRbG+aq9HbB97jsGWFQhqt9Ty44V8bZlbPk=; h=From:To:Cc:Subject:Date:From; b=gjmHgreryTVBZftysC0TzayF78ocY0NGgufMFF2gDd9lD0cRA6k+mWSXps4irGXIF uHde2xc2CY6u2Iz2QPOLQbcntNDgOcmTf4RC+ajxXrhxHY8e/S08Anh/oaWqFeHRl0 WK5qmOkb6yWd7tlt6F0E3ngxh2Swe0OsWfk+hOvfjcR8RJq2y6v6haUA/Tbw4iHRqr TBolvUC+o5HbR+Sw7sg6tVmvqUGNRiui/mMpmU/+jUAT6FgyNvivCmJH4w6oUAU2UW 5KOsZL6E1AqIcFHyu2bNlXMkUvsEedPiu1L1enLmYWj/PgINIDbtgLR/OKCFin/YVI rLp4xG+rEEWfw== From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] soc: qcom: fix module autoloading Date: Wed, 10 Apr 2024 18:40:45 +0200 Message-Id: <20240410164045.233198-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 the module could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Krzysztof Kozlowski --- drivers/soc/qcom/pmic_pdcharger_ulog.c | 1 + drivers/soc/qcom/rpm_master_stats.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/soc/qcom/pmic_pdcharger_ulog.c b/drivers/soc/qcom/pmic_pdcharger_ulog.c index 238cd38589dc..5f9ea3fe6d6d 100644 --- a/drivers/soc/qcom/pmic_pdcharger_ulog.c +++ b/drivers/soc/qcom/pmic_pdcharger_ulog.c @@ -150,6 +150,7 @@ static const struct rpmsg_device_id pmic_pdcharger_ulog_rpmsg_id_match[] = { { "PMIC_LOGS_ADSP_APPS" }, {} }; +MODULE_DEVICE_TABLE(rpmsg, pmic_pdcharger_ulog_rpmsg_id_match); static struct rpmsg_driver pmic_pdcharger_ulog_rpmsg_driver = { .probe = pmic_pdcharger_ulog_rpmsg_probe, diff --git a/drivers/soc/qcom/rpm_master_stats.c b/drivers/soc/qcom/rpm_master_stats.c index 9ca13bcf67d3..c5745e20e736 100644 --- a/drivers/soc/qcom/rpm_master_stats.c +++ b/drivers/soc/qcom/rpm_master_stats.c @@ -148,6 +148,7 @@ static const struct of_device_id rpm_master_table[] = { { .compatible = "qcom,rpm-master-stats" }, { }, }; +MODULE_DEVICE_TABLE(of, rpm_master_table); static struct platform_driver master_stats_driver = { .probe = master_stats_probe, -- 2.34.1