Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp173173lqo; Tue, 7 May 2024 16:37:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUbN0kC+/v7wHsjh03bHNe3BQqdwDGlsfVVT7vX727hRR+lOCfB1bmJw9l2ns5xpSAmMfRyKZKRhabCeiPqhx7hzVQkKGcBzedwZqMrag== X-Google-Smtp-Source: AGHT+IFzA4/kw45eV24wbn955ahMF815aXt4rt1DotqK7tLc0SxC51qde6rEj+yV08IAuJwkzf5l X-Received: by 2002:a17:906:ce26:b0:a59:9b75:b84 with SMTP id a640c23a62f3a-a59fb95d551mr54511066b.35.1715125046422; Tue, 07 May 2024 16:37:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715125046; cv=pass; d=google.com; s=arc-20160816; b=eHgEE6Mu8qLYxfHxmv9BDo5Zn/DbiwdlgK1UMhAvsuuoiB+nsn6RaEZQ98T1AIe9Xp aQZld83POWNPSsoRV6IDjICMrgXAvOLuUtv3Oyr+xPdUOOPlweOC/17Sd8D2WS6k44vY FPMA2TplvDBJxHIDx1QOhcEeWrtOUwPjsUJq5IoausZf+mmHoBz1Awcv52Wj52TTZ8gm E4lPVTKUC3EoqVtYLL+9QgoHnBjTcQRIsEf974yXN66HlfJfTt2b2wObmw83Tg5SmD8S JSUXc/LyM+GMCKURChwSAOmylOTXE735c/vDDliOcygUlLyKoSOQ3XlqZIMT+ceYYCDo fVxw== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=x94Ws3mk83BnORoRCxhoW1NIiAtgSCa/5LrC2fRId8U=; fh=Q+KB+L+UIwaHglj8dTGD8KDyvnIyBdkWKTsFtf6SQiI=; b=kQzkk7Gk4i/IlD3GKOqKiM3qvu8N09qcRr1/Y9Tk+MdPNA3KnuHLUhB25NSq+8mXx0 JdM16NKnLN/XG56OKpM/EyolXhgnJ57r45gr7DLm0CXErdneAU6miijE9rV/g5oT2o6e rvgSvSqDegU/FkopoJ/RYN3/pGiT4thrTrSLLWvCtdGbodTHMq8mWRq5gsoymz3AlHmv vt8yDNjY/o1fMK1dA9rTQv0C0Ky8XvOggusuxMWCsOj/0kabBytBeJc76V5Q717Y65IA UfhZPUFHZFSfS+/g+lYrAKGkeGuQYHPKogFC+djuxrbZKuIevjPAjbckb3SVpu7Ey9GF w/Rg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fz4AGL5E; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172405-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j9-20020a170906474900b00a59a9e30de1si4305803ejs.665.2024.05.07.16.37.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 16:37:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fz4AGL5E; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172405-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 22C121F21ADB for ; Tue, 7 May 2024 23:37:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A3A24136E34; Tue, 7 May 2024 23:10:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fz4AGL5E" 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 C7099149C58; Tue, 7 May 2024 23:10: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=1715123452; cv=none; b=focGyyBsZvbwQ6QwsWcvIlGdzDDpOEnXjZygsnEkNt2pQIUw3rD0fPru7HhXPm0omzc10NVCP/MUbh8Y6jxLobOFxRKjf18C2i+3pj82Pa8F2KYMOa7xwBciwJM1/LJPbHv8ZWbVQO8k5K7BTrxXvJKb2RoH0omjZNpoLaREh78= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715123452; c=relaxed/simple; bh=wSkfnaPITX5qLw6RyeCyK9vxuYtr6G5t5yRD+6IUEHU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=slizaqIOidqpZkU9Ybx7mzpF3jLIGBhoELnHsUVIMimHzgeA9LEewnJ+6LGQSpIAmTuH0nUDs5z//pcf3QnEND5sR09bwxmV6ZQ6S18BXd9ldh0SWb6m2XkIPif21CIitAna9t6ywyvHmhbHMEdmnAy3vks1/98SDiuk6YKCZ2w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fz4AGL5E; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 521C1C3277B; Tue, 7 May 2024 23:10:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715123452; bh=wSkfnaPITX5qLw6RyeCyK9vxuYtr6G5t5yRD+6IUEHU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fz4AGL5EetzpJLEqhhVWC+aVgWuqL2SQmoQR1iAxR8RfwzGyR1TCSInlbAP19fTAE YzHr9GLwwYWMOqIepDaFGmsqid4ApgevsBlVyCDzPxssIyPn/u6yb5e3xMK18gni1U USHrSCtdpvqb5CB6X5PKa9IrtdFiWBqK6eAjKnFyCchpE0Vpk1UPjTkTTO2KjpZNIU BQe1xpY2ImKf8gbU80hO3AWQEvTEd561TUatc9zHh2MffExD9XyPgaMf8lIaiLC1IE dLWhrnZrCICcXaiVHOToGJn+RNcBuDnTdgw/UfDWqhVZmGjgmmoDpi0svQGqYVIGFx qxMHqHa30UquA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Krzysztof Kozlowski , Konrad Dybcio , Mark Brown , Sasha Levin , andersson@kernel.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org Subject: [PATCH AUTOSEL 6.6 10/43] regulator: qcom-refgen: fix module autoloading Date: Tue, 7 May 2024 19:09:31 -0400 Message-ID: <20240507231033.393285-10-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240507231033.393285-1-sashal@kernel.org> References: <20240507231033.393285-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.6.30 Content-Transfer-Encoding: 8bit From: Krzysztof Kozlowski [ Upstream commit ddd3f34c10002e41ed3cd89c9bd8f1d05a22506a ] 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 Reviewed-by: Konrad Dybcio Link: https://msgid.link/r/20240410172615.255424-1-krzk@kernel.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/regulator/qcom-refgen-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/qcom-refgen-regulator.c b/drivers/regulator/qcom-refgen-regulator.c index 656fe330d38f0..063e12c08e75f 100644 --- a/drivers/regulator/qcom-refgen-regulator.c +++ b/drivers/regulator/qcom-refgen-regulator.c @@ -140,6 +140,7 @@ static const struct of_device_id qcom_refgen_match_table[] = { { .compatible = "qcom,sm8250-refgen-regulator", .data = &sm8250_refgen_desc }, { } }; +MODULE_DEVICE_TABLE(of, qcom_refgen_match_table); static struct platform_driver qcom_refgen_driver = { .probe = qcom_refgen_probe, -- 2.43.0