Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp290548lqj; Wed, 10 Apr 2024 10:26:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX06itehCh4Z1ztCdmr9Ajf3sdHOAZnu2yLr9B+1SowqMWyeR9cVihIVw0miK4Jan8PUML1ZxQD4PHl+mfTHvC2CvJruUjdf7z8A7nYJg== X-Google-Smtp-Source: AGHT+IHq66SewFPd0WLkKRdQScreh00ZgLCmIWo9ihbGEU0c9Tobh34RhrnU5ELmmGhVeiM9FBLe X-Received: by 2002:ac8:5815:0:b0:434:622b:d054 with SMTP id g21-20020ac85815000000b00434622bd054mr3191926qtg.66.1712769992084; Wed, 10 Apr 2024 10:26:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712769992; cv=pass; d=google.com; s=arc-20160816; b=v2AAi0EBvXchbIluZOAExPVdefBUAQ/WRHNq51a0k+vXemUpxmMHM2zMGLHlWX1+3M Vyx/AtJVbLve+eHwiOPiDJOT2qZBIYZOOpmBuS+iXoLamrSBleVlhR8O/0B3DGGSYMb+ K0tBUvft+5EOa/+yDAVuTTjtS6cbOfDN/rFyH+7F8H5DLjSCb/shqO0tpXw0tB5LU3yF I4FiolbCgGMVQrQZW2K7f0UIzSfWYhhmdjluW95n+bPsHj2CsjAJVLpBmGmWm/cIu0pJ LZPxgJ8w9JQ+7qTrq0/EEZaKiTbkQ22eMohFXjHeLI4ECB8VHMBe+vHZJ03MTTV9ANtr 6/8Q== 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=vtVTQN7dCIFP9MwbAXENgAdeAluYEmv2uc5HsHgjRNs=; fh=Q+qrqvCpGZJg173Mkq7s4O2P5kt8uARY2fkZ3MUZAEM=; b=DX4n8RhsAkA6QtcZcqI2h8muI2P/q4Y06GxpUZpvQP1IwtsyiQCKA5kZj6fmyg/jPT cNxqUy3MlTm3hKm69ZqfecqsBlYu69ujB+Z0NbkGa7UHnaIJM4UZJunoM4O/jEGO5Jqs DbRyoRvl2J89nWjpjP9dppZ6LQhskxdQYrUoJ1rShFx3xSbKfDjerLjQsoHFH7nQO8fm eMa6c6uLl+VuXQkN+c/lNmyVMyFx7H9f031/eIYL3YigBqED18atM7ZPMb2Rq5zfSuFs xB5lCDrscpdYQa5rHgDmij1F+HqciAgwF2ZK0+FLvuNGbZPEbR7kUxhR3udcnyefiZDo QADQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jEysqtGN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139093-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139093-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 10-20020ac8570a000000b00434e95d8680si3269338qtw.734.2024.04.10.10.26.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 10:26:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139093-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=jEysqtGN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139093-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139093-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 C6CB41C22E21 for ; Wed, 10 Apr 2024 17:26:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCD5A17BB21; Wed, 10 Apr 2024 17:26:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jEysqtGN" 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 E3E8817BB03; Wed, 10 Apr 2024 17:26:23 +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=1712769985; cv=none; b=kANAicr74bLPVmW3CCeNNZdOvub0jg6/5hoz4BuL4Uh831A4KXuDJb5C33loRNyTJrWolkewK+HGYl9iTPc6WhsEny9epGsOVsMebQPbYn53QiBUFfbCgMnJftLL51eFHZQ4D14aYMV1Ep/AumiiG0aYSW6LKfVRqIFSIXgeUtQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712769985; c=relaxed/simple; bh=zIgG0P2RDfvyJWTx4AwOqHCkNM6cYKWlhMdnl65tn24=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=sR3fVrRueHkfyxMFHfjEk3X1ASwkE4WnekqZLQDLhLe0zOLGoTOviOJgOlADpiC/BZzXlyseKZELQVp+tepx0ekl2YJk1Ol4VXJ1An8k7XuuhsCbJPlLZ/cHE2r1lQtJtXvPuAnbWt0ZWpnlYryM/ThHrNnwByocjCJwIIjtWiM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jEysqtGN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 000CAC433F1; Wed, 10 Apr 2024 17:26:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712769983; bh=zIgG0P2RDfvyJWTx4AwOqHCkNM6cYKWlhMdnl65tn24=; h=From:To:Cc:Subject:Date:From; b=jEysqtGN8wFSyrbP6OivUS/LZQTbyj1AGSdI5tBWZD1lT0fMR72SG8iUAZvn/SKyD OszsETuG2xMJ8BZeRKQixIGZ+BV3vBNzjW+zxl9/3PMurWdMwmL83GfqRQpY4x5RUh hmcbcK925B5CnkFBSf1f71slmM5lWLEneIGUg0BLwSOLn7mhPqRAg30xOk2QxCSqub 8M3J3bcTlvh6FLrWkESICq6CCim9a+WIfB8UR9wX4rcR7sX3MYlYuuRN0X+ev+vRHw njD1eadKBJyxhQcW97rOYqGD2f1+unSGjesMwgU85RV/72/L7t6LGiu37X0onEEdtO 1mWHZhwmNdyMQ== From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Robert Marko , Luka Perkov , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] regulator: qcom-refgen: fix module autoloading Date: Wed, 10 Apr 2024 19:26:14 +0200 Message-Id: <20240410172615.255424-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/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 656fe330d38f..063e12c08e75 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.34.1