Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp275659lqj; Wed, 10 Apr 2024 10:02:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXT6w58sINpzHSEs9sPA1OVSQ+5T8pj+AqJe3tnd1dryMBxWvhNqrm7s86Mrl3k7gGnBLHDlpJsZWRkRGCUPIEF+rUzywIzJuDkfI8Dkw== X-Google-Smtp-Source: AGHT+IFGeGOJ3u6i6UKpRgapoFABq5Cx7WnObobSm1DtVhOxPsmZOvPNmoxZp3NPCk0NTO2S8eN3 X-Received: by 2002:a17:90b:1e0f:b0:2a5:d301:8df8 with SMTP id pg15-20020a17090b1e0f00b002a5d3018df8mr2230809pjb.34.1712768533228; Wed, 10 Apr 2024 10:02:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712768533; cv=pass; d=google.com; s=arc-20160816; b=Hudu6KGEz0dY9BSzxsAvjtStMGXJxQ6oa3z7fwYptzH48aiL+HJ9ngYb+s4R2zRq6n co+4flVevnvaYt2mDZjR62atcQQxlr1emjsgFfRDJi+7HDDH8YBagJlKtBiXMFhIfzwA k8zNAEGFENVElqSU6p4Kb5WFWt/xmX0PB7Uk57A1V3QRETo+ix1I70iziFQQz2PlDp3l 0R0WMVDPLNn54xYFBlG0ZYXhHQuGULte4VzkJfH+IrWL5TwTkA6jssrcnj28reZzYLx6 n8UF2wPtZHx6Ooom6IbYO3Nz+ce9a/NxG9p/t3rppbVY2JU4cqldgvoBdfx2cWZ7AxGW K+9g== 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=8LNqtxJI0ssuWcl4zoiVjN6UX9n6ZouLh18MILaqH7o=; fh=qawYbO/gfuivR1rbui3bCHpvSKUY31Tc7ene4gHBsSw=; b=0TOYn2X9/hPPD92AVYM+WVlY6fXTh9vblL75Y1ttpA3DfEAO3Wf72G80GjVBdRfmwr x5uE3ri0bcRlZCFoJl1KkRR7xF1YWSauO2J8W+WrAzm9b71LbMCZDqpvM87+tp3cVTCF LdhiFSUhPwpM2mHVLduBCEcIkH/fHvHwiBhzHBBp2D1y5hlsAZ4U7ORdqeh3mUxLIC7c XR9a0NnhJdtKfSLkCbwamLSoxwfjoofUP+XWTm0qz7Qtjh8hOFVzw6Ok3q/FgyV0iqXG +PyyJqwLxAJ41KB+OTWZYLLgSlm5IGee3kjKvuJFd0Gr25BqG9HmjEywu2VN8NWmqExe feOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ocnr0wxS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139022-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139022-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. [139.178.88.99]) by mx.google.com with ESMTPS id z1-20020a17090a6d0100b002a291738b3fsi1813769pjj.172.2024.04.10.10.02.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 10:02:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139022-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ocnr0wxS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139022-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139022-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 AB6B9282C91 for ; Wed, 10 Apr 2024 17:02:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D79E17BB08; Wed, 10 Apr 2024 17:02:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ocnr0wxS" 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 9B5F217B503; Wed, 10 Apr 2024 17:02:04 +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=1712768524; cv=none; b=Edf4eau+tTDsXxWnl556CD8Js3qoHivD5CFI2FPySnSXyt6XzBt7dURV8+nIzA+5Buoa6Lst2/cVANsGKkTLZ31ug9UHDDhKau97adS//ezKvLLGAFsJVDS/oF1qVexve42FTz57SWB9JpTY2K0e1doMzddpCs8NswmcGZAB/fE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712768524; c=relaxed/simple; bh=nfO7BhOr35ZNDar/Pmam3BamoEiQ6+6qfGd93yRI2Iw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=GrAJtw5mu6tbqjqN5NSfM9fVR5fJJAQuvNg1PE/QV6WhGyUumL5oDhkePy33RQBKwrBUC+gm5kQ1n0k55V5ghSEF74erE2PYstTpRXoRynvEMDcm/HlC+dYljnSnrA51WrmqtE2GtH2fESU+s7mkXiyXxu32wanBpUjAciB0aSU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ocnr0wxS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86249C433F1; Wed, 10 Apr 2024 17:01:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712768524; bh=nfO7BhOr35ZNDar/Pmam3BamoEiQ6+6qfGd93yRI2Iw=; h=From:To:Cc:Subject:Date:From; b=ocnr0wxSgG0VHuixPUnewtVTdrpXKREAJATiYstPXiA6ckwuxFE/T265Ecu3MmGZp cUhd3UCcCswUl4cAWN4j0KuGATYzzAqzCVZ7IFErSkDo0LluDagpGoAHs3nVmSxFqd f7POFdR5JNIx9PuFeKiQZYwe9F0iE+FZzhdUBjWPu5QhYSIA4/tEziWa/LZLt4luTw AOr+Oc/Qok9e36AsqOTaE2WaM8JG4d2wikipPSl31qP3vwXp0qpA/6gU0qyf4JvuaD kF41OSTsMtzN5EloWkPnYzywlAcnIGf/1khnTgbA+8+FfoYNcrDWL9aSmTHKWffA4q 6nNb/sv9XVNMA== From: Krzysztof Kozlowski To: Dong Aisheng , Fabio Estevam , Shawn Guo , Jacky Bai , Pengutronix Kernel Team , Linus Walleij , Sascha Hauer , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , zhanghongchen , Yinbo Zhu , Bjorn Andersson , Konrad Dybcio , linux-gpio@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/5] pinctrl: freescale: imx8ulp: fix module autoloading Date: Wed, 10 Apr 2024 19:01:46 +0200 Message-Id: <20240410170150.248428-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. Pin controllers are considered core components, so usually they are built-in, however these can be built and used as modules on some generic kernel. Signed-off-by: Krzysztof Kozlowski --- drivers/pinctrl/freescale/pinctrl-imx8ulp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/freescale/pinctrl-imx8ulp.c b/drivers/pinctrl/freescale/pinctrl-imx8ulp.c index 2e86ca9fc7ac..5632c7285147 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx8ulp.c +++ b/drivers/pinctrl/freescale/pinctrl-imx8ulp.c @@ -252,6 +252,7 @@ static const struct of_device_id imx8ulp_pinctrl_of_match[] = { { .compatible = "fsl,imx8ulp-iomuxc1", }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, imx8ulp_pinctrl_of_match); static int imx8ulp_pinctrl_probe(struct platform_device *pdev) { -- 2.34.1