Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp290629lqj; Wed, 10 Apr 2024 10:26:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVKY25IhBW/JFdZ/RdFtfTvVpE0eaqMfW/9Rfs9295vB7bmjOpsjXfw6rgNqXSVLHqEvSXdWUKpK+z9iwCLCAl6jxIwXmZb7sh30zR3Ng== X-Google-Smtp-Source: AGHT+IGX6tk9Cm3IbZ7WZXQrBM82xrHFv7hj7b8Ur+1JMO4PlGDXzePCPwAjA0KruhFFBd/08HKw X-Received: by 2002:a05:622a:448:b0:432:e789:e0b0 with SMTP id o8-20020a05622a044800b00432e789e0b0mr4059506qtx.38.1712770002779; Wed, 10 Apr 2024 10:26:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712770002; cv=pass; d=google.com; s=arc-20160816; b=IexSNEHyjVcBwsgsoXoEOX27BCviCFvhs3kaYkezbGoDaPHNmzI2pLRklF1s9bYiLQ Ck1e+zwoBXzgsRJRXTSZXa22sr5/l4pdYB5CrK4hU3zBUz96nlFNzKPTTrQT+y6zKLPU /8DDtYNydpuKNQPJNApvLdBc+XCXD63Er5dL1jQVl+/mIDSDZtEtn6Rqf7op+xeQxziF NoMwv+VLNeiagQqCrWYCcV5/ce+SNvNnKXErlXhIi79aO/J31XrX8i1ydDY1T7tubx0W Mhg4GpTTi8DMmyKQWFmpSdA5WeUVlnJRsAeAYMgFVpnbN6yTCs7j234Wxl4PiiqK6RF6 VcGA== 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=GQzOFHFavbK7isolcRaSobNb8CHyvpsaxcLWDBlrO0w=; fh=Q+qrqvCpGZJg173Mkq7s4O2P5kt8uARY2fkZ3MUZAEM=; b=Ys1lRN9bfT6Ws0TLOv4Tm4uYb1Bzudemo24mrVwWOYNnVXG4DhasUDON9PImkAb7nd hcYlnB/X6y20fVY7dZPz2vKc0Op196xAmJFsUWzpuw2ZrMlyd6QP3zXoXf937sP4dDUV PuBppC9R/pc/ZxSbwGul64TCKOxvUWPK3M4NkrWdCnTQajmjrvcq82M3/dDY/nlwyo1M pu5v+kf31Q/LM3Z05UaAkNAM1M9V1ULna7qi/qwsTyThD0REh64tw7pu3VX2CpBOyRiO p2Jz7BcmX7GTtXK4uXf76y2gkyt1069lnUYYPM7Nit2VCAgenRNy4j74c0pPBNG+zPn1 L21w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kXmi1ZgJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139094-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139094-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 v9-20020ac85789000000b004347d4d4902si9054026qta.72.2024.04.10.10.26.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 10:26:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139094-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=kXmi1ZgJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139094-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139094-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 7F6B51C22BEB for ; Wed, 10 Apr 2024 17:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8BA8B17F36F; Wed, 10 Apr 2024 17:26:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kXmi1ZgJ" 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 B38C117BB2D; Wed, 10 Apr 2024 17:26: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=1712769986; cv=none; b=hrE2gKd186dqFfMpaQjRKIOog9sQhOIn0X+3odoGRRD8AegWclv02kjyPPaKkf817mwvcC1JpkCXb/KEK2cXRslFbXzra/HnGY0WMvCpF/OswqQWbGurF/Uak9mFSEjwMaVs0fcUXCs0/H66jhbvfpdHQz84TSkhIhPHEbcuJvw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712769986; c=relaxed/simple; bh=7oHK6s4i3cvHhuJkFOrbb9FT3TDWKEOZ2hlMIcUo2wA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=eQmq7PPkYLbQgTitMPq4Rfjbu6aNdC+MgTYcNCIMNEQidclUz/mo2V9EBdahKVPUVGk4q90RTiwGIMmqQ3164GJs/MosL5JhY0C1HnEzKl8HjlbAAUUfFC2WINqaTYkK8SD39Tyo8sKGDA45dL+t4KTC8OyGKlkxE4aI9ngKTnI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kXmi1ZgJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20792C43394; Wed, 10 Apr 2024 17:26:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712769986; bh=7oHK6s4i3cvHhuJkFOrbb9FT3TDWKEOZ2hlMIcUo2wA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kXmi1ZgJ5nPVxrt7kA/96YNgUb7yik+VKaJT4mt9gXfM6fii/V3dryu5y2Mm8xmsw rIbNCWR/nJBhDhxsIqQK1vQ0Gpa4hzoHwZBr6FHbZvV5jA96dJHE32FuoAK1kwKbuM BYnI4Ol9q1y55WAqhN8AKocoFHUHFPZsOtMLwb+azF2ZPEmmWoiLkI3s2me/ot/U/r dakoV8Q+96B+VSrx1/VqgqCJCGpbTCRbju+NdcizzL2qPJWxBKV1le4p4diG0VU3zC gM9eoNfWGUHOSweTemZRx78hLZd0LKrIfXqwMTQnwTlW3D8ErP+TSvZ9EeCeNXP+D3 ZGaWkaxhdJFZg== 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 2/2] regulator: vqmmc-ipq4019: fix module autoloading Date: Wed, 10 Apr 2024 19:26:15 +0200 Message-Id: <20240410172615.255424-2-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240410172615.255424-1-krzk@kernel.org> References: <20240410172615.255424-1-krzk@kernel.org> 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/vqmmc-ipq4019-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/vqmmc-ipq4019-regulator.c b/drivers/regulator/vqmmc-ipq4019-regulator.c index 086da36abc0b..4955616517ce 100644 --- a/drivers/regulator/vqmmc-ipq4019-regulator.c +++ b/drivers/regulator/vqmmc-ipq4019-regulator.c @@ -84,6 +84,7 @@ static const struct of_device_id regulator_ipq4019_of_match[] = { { .compatible = "qcom,vqmmc-ipq4019-regulator", }, {}, }; +MODULE_DEVICE_TABLE(of, regulator_ipq4019_of_match); static struct platform_driver ipq4019_regulator_driver = { .probe = ipq4019_regulator_probe, -- 2.34.1