Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp168910lqo; Tue, 7 May 2024 16:25:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXU7jWic6bmt9EerHW54HGXCI5qV8Xa41aTg4kJOGyDxC+XTdVUUK6nmYnjjbsunZl1WN6nINp6xz27mcP7g9WuL0Qykb0iskNFWM7lKQ== X-Google-Smtp-Source: AGHT+IHE4x8FuZ6P8ZKYC+D/p0Z3iExPREo58KIvYFQB9mcz3mItFeDkQNc6iXE/99RkvdHX/AHc X-Received: by 2002:a17:903:190:b0:1e5:c0ee:a7f9 with SMTP id d9443c01a7336-1eeb03a69a5mr14070385ad.14.1715124343420; Tue, 07 May 2024 16:25:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715124343; cv=pass; d=google.com; s=arc-20160816; b=IKajt3o7FqFZhRXS2xQTZfs+Z1J9uts/+h3iewpoENxthDKdwsxi8pbe6vBEVHfU6U 7vSutDBiPl9yooT+k53nzLyJLhfyS0HOCev1EyHhaWiVvbviWOxOCqEMg7XVu0TFHiiS FJQ5Mo/EZ5MRR6KmT9tRylDVQJEfVqVErb4gsNJddaLd2gaMBEj6gHEnQF5N9EAWMLIl L3fKX1zCsXl/jTSoqWSs21cUHHDxupNguTVSau6Tz6eHUFFs6BARFtbjbeIQHKY5Jc6Y yy91JB1m5+A48ATjI7MFoU7b8+l6s4HGIKwkFyfbCWiobZQ305e/xpQ5XRT6zVBjHoUq yt+g== 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=lq/Kmgmoqd4uk4cIxvG777ErNRBcYTiYbw4F/83m83uvZsZKiIEeFOCehA8Vg5iq6N 7do7GCGsBPnyQ5v3fbQj+KZV7TlG9vmjMnine+fcbybn5QIfMVG++mPS9HiUh/VsL3D7 +LHvvZznfugyXR/eyKX2G5m5Jd+fN4B/qnj4UVpQSNsTLSPICx6XUwLHl34AzdInPgUl hiKPAlpNWU6ddqvKPslKeZtr6t9EJOS8sVbSGzi286Rz/1eGwtZfY5kbLCNJE/uKALg1 I1+H4M5/647GpLsn6xT5TxTCjLGtB/tHHAXMr6XyOo1nsk6R1aFDeOrjckmMj2x2sROV D73g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a7VTY5YN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172355-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172355-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 z14-20020a170902d54e00b001eb1f82cf83si10957339plf.555.2024.05.07.16.25.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 16:25:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172355-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=a7VTY5YN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172355-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172355-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 3B90F2863A6 for ; Tue, 7 May 2024 23:24:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 346D81327F9; Tue, 7 May 2024 23:08:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="a7VTY5YN" 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 5795D13118D; Tue, 7 May 2024 23:08:26 +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=1715123306; cv=none; b=rNZNJDDvTPTOBwNorVHJkw+VPMdAbedvKLMfhVlQj3cHeu9kmNaupiAuSQaGJ3IRqy7cNxkqbjtGC5atjrcEUT/TaBxIR1OIdqZC4MfY1edYjGF2/Eu9j4yqOa+sgK2CLcdBnFHCvzzRBBplJaeU0t5ACDYmPbZaa9NSLlB5kGY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715123306; c=relaxed/simple; bh=wSkfnaPITX5qLw6RyeCyK9vxuYtr6G5t5yRD+6IUEHU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rKl1V4Md23CP7l7cbiOzm812HfwibrGR2kPBHCm4xIyIMe3Z4cNHvuScuonuapB8z+zJzGfz0ynkAA8uNt6hO7nXapy7HNTzz9edPvPu+fPmago2jjRCEWjbKoGSCXukLrMb73tVZmnRZkGiEyYjECO/lvBcQZCJL09mm6X+4y8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=a7VTY5YN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6820C4AF63; Tue, 7 May 2024 23:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715123305; bh=wSkfnaPITX5qLw6RyeCyK9vxuYtr6G5t5yRD+6IUEHU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a7VTY5YN+cAecIUbj7Vt1Pcota2X2eaE6tewsHi4Af0dOuaSwbcC9Ktu5mnD9DXvy YXwMFPZeyuouNq6R4y8SeMJnLALvrckYkBXG55XLbOUNaadTcdFLJv15qofQYqebkp eLI4flqYGsK4x1pk5VMfupiT9FLcRt17V7MBBYWtZOtbc1ynn8mg0s8iYsoBIAde9R 0aaMJnzuGF6Cuwy/Pt02Vy8053h0ZsqcCwe9BgtRaCkp7vS1RoW4KZgsnq1wnBg/6b tmIsxzZobPEl2/X1qKEkVmzbxFQhsZfYkaoZ51uM6ufW2YG4d8BMe5gUeuI7uHAjyA g83arCsyx7qeg== 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.8 13/52] regulator: qcom-refgen: fix module autoloading Date: Tue, 7 May 2024 19:06:39 -0400 Message-ID: <20240507230800.392128-13-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240507230800.392128-1-sashal@kernel.org> References: <20240507230800.392128-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.8.9 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