Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2375507lqp; Sun, 24 Mar 2024 16:33:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVa7n7KGzZziWyXU28qMdQPxhOeEOcX/C2rIOZdGGD1DxUji/rq5BSkkR1KDZKBCLs2f6goSQUidvJi4ImLfV7cUEOy+0iwRWpAttFxKQ== X-Google-Smtp-Source: AGHT+IFSC4hkP8k7s73uGmeS8FDKXaCKLgYc7ApWfyf65QWQFwOwxRUJQlJVAKajrXI8y9EZ/vQ2 X-Received: by 2002:a2e:9590:0:b0:2d4:4ffa:9fa6 with SMTP id w16-20020a2e9590000000b002d44ffa9fa6mr4005178ljh.52.1711323204583; Sun, 24 Mar 2024 16:33:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711323204; cv=pass; d=google.com; s=arc-20160816; b=Iw6DaU4bQ64b2rVXCKKv2/SN9F7LWww8uwF2GFeKLd7bFVvkRZa/m/u5HzBoqlPwzG Sor+jiQIY08PkMbbdf4zfO5XvAclGnfwVmHKQbXKaJpk0TIjGghb3q0Kf3cAc5bfOVe0 6xTvpBrFzy8NrPjuoWk8JTZJ02KCVW3kEObvgX8798aJX1TZIB8UlAW8/M7Cw0Wk+8vh NKJ0itg/AM8qtbscdtYh0g59AC/fX/JFt1sr6TdL25A97RbNacSzPJzB3JOa1TsCd5UB 4JHzDxmr0t5Nj3ZhY901k/NX/n0bdZw23i72SrvTKTh6yE7A9LRZ9eLPa67oAQZIQ2f6 dG6Q== 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=2NSyuAvX4lJrkA/hL+o4yFXmj2G3rT4Hyax24sQ8tOs=; fh=UvBP6CH2td2HmbwUbij3QoCcjbcPKm/DCYgsDkW+4L4=; b=C4a6/t3YeVGNa9UDvgotLnpFfGlq43cPbu2VDzDGLzJKFwzjbg99+Vfq+rWM2VbnNu nfXBOd5eUDjH5dzQuggFQuKsUV6gAi99zcop8ndCAX3mwDSpkHoGhkrw0JSvdDDJ+Ag8 ZuocbBrDmCszcgmln7ltIBca0u7BLjyJm+IHvzSfTah9YZFt5cuOTyveMP+3DFPjXs1k +XSMU8Z9p6V7q+l9xs6DOQTQ2hSs5FyTGaB14i9p6sf77RPtuXNm+h+G/hCrP3MLz4ti izmU/o5sbhWR8MlpCbOP5lJMa9/4hZZnqLNWLmePGknefbUnQ5X5T0i5ltiudYF+h+wd PNyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QwFXP7xa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113159-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113159-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lz14-20020a170906fb0e00b00a4751926e3esi939877ejb.26.2024.03.24.16.33.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:33:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113159-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QwFXP7xa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113159-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113159-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 385941F2188D for ; Sun, 24 Mar 2024 23:33:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 735C3173328; Sun, 24 Mar 2024 22:39:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QwFXP7xa" 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 88253172BD4; Sun, 24 Mar 2024 22:39:21 +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=1711319961; cv=none; b=XIZEkYEYqTKHYKmS5waHJ8IUvxy0RQq68ee0O/UsBfBy9FUyoIbV6Tqa/cbqJBdibJherSZIR6fzaF3vu+oFf1SBkM0/ngxv3R5Q1m1+AiK2BHGz/9sMSPfLROHQeKj+tFcQsNs7pZhaUL8T1IIRASrtJHfK0mGGlM/Td6qk6hE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319961; c=relaxed/simple; bh=yEacVUk4vPPXTEet/MLxzVr9gJMeEgue7ybvIiF3cPQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tQ7OuVsx0MjfYnZ4wEuq2FKVhrGfZ57+X2QdvaojHT4GrnVU1G9+tGoDPCJw5roLBOq4Ctjywm8Dav+7N5+Att/9rKbv31/nYX5tzXFFaMRbcceLbU4yrQu74cnLkAfD56iFhO941ETSpc7CnG03EDf+LHq25QCP3+m8jo8EK+8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QwFXP7xa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C53B9C43394; Sun, 24 Mar 2024 22:39:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319961; bh=yEacVUk4vPPXTEet/MLxzVr9gJMeEgue7ybvIiF3cPQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QwFXP7xaFxy0OqIVypzMtO0QmLzEAX7jWBxP4wWh098cJSg1i9/xIKH/CNNJAFYIV 4gurepvXVYe07fWoq+4/Pp6vm8/Zcgmc3hZkv2XzT9LixxyLYr+1X7761s3n69vy9J 2mzHftJJJFNjGiCbqEh9YSZ/NovSWLfbuNWX+gPw0M+Rxc9uShLgzFCYE242+TFEzc zjv4VV/46bI+7AJRT200/DxE1hx2A7DYlP9Uj7WasWuMfTKaF7a0+I42r26IDMBiWS CXwuZBqDUDZu6BTPheTach3Xrx33ywJdFagWs4dQmxfPw6mGPNBodZ9XHP1qaut80g UObqz6QcWuDlg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: John Keeping , Mark Brown , Sasha Levin Subject: [PATCH 6.8 268/715] regulator: userspace-consumer: add module device table Date: Sun, 24 Mar 2024 18:27:27 -0400 Message-ID: <20240324223455.1342824-269-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-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 Content-Transfer-Encoding: 8bit From: John Keeping [ Upstream commit 531a0c0cdbff9cecf41073220a826f8b1132f9ab ] The userspace consumer can be built as a module but it cannot be automatically probed as there is no device table to match it up with device tree nodes. Add the missing macro so that the module can load automatically. Fixes: 5c51d4afcf3fd ("regulator: userspace-consumer: Handle regulator-output DT nodes") Signed-off-by: John Keeping Link: https://msgid.link/r/20240226160554.1453283-1-jkeeping@inmusicbrands.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/regulator/userspace-consumer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/userspace-consumer.c b/drivers/regulator/userspace-consumer.c index 53d1b9d6f69c5..86a626a4f610a 100644 --- a/drivers/regulator/userspace-consumer.c +++ b/drivers/regulator/userspace-consumer.c @@ -208,6 +208,7 @@ static const struct of_device_id regulator_userspace_consumer_of_match[] = { { .compatible = "regulator-output", }, {}, }; +MODULE_DEVICE_TABLE(of, regulator_userspace_consumer_of_match); static struct platform_driver regulator_userspace_consumer_driver = { .probe = regulator_userspace_consumer_probe, -- 2.43.0