From nobody Sat Feb 7 11:31:48 2026 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 5A55019DF8D; Fri, 17 Oct 2025 05:46:43 +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=1760680003; cv=none; b=I8jNUmZgjoILbTZAVh+UKZkyiqM/W2iEqLR77CFp8zzqo2VHqcNDP7fA+u7H98fTd74avfpFBzOAZvh0pE/YMY0llkW+/BP2gUF2lbiQXMFhyEkZrTWsj5/BK52y9vH1HSmi8PNLLiC+n5g56N8s6TLYfPXXoFbjZ+/WfNebAqg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760680003; c=relaxed/simple; bh=Cd8WJV+T0Qre6U0JnCFD9btzHPXjuOFvcMNsbRnbuXg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=B79guNKxcpaewpoIUnWYeyCOpD/DzVJocs9dXxW1glr9DRJBZ3QZRmIui5j0oJbNFw3ETBTZ/uPegmNLrQXdSpE+i8Wets7b0MNWCk6T6+viaebda2XvnDEnNHc+OGPHhuYH44wZ6L3HYvlZE49fJmGAVblrd2nWpyPzrNc9E2M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Vy53zA3i; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Vy53zA3i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CA9BC4CEE7; Fri, 17 Oct 2025 05:46:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1760680003; bh=Cd8WJV+T0Qre6U0JnCFD9btzHPXjuOFvcMNsbRnbuXg=; h=From:To:Cc:Subject:Date:From; b=Vy53zA3intR7g8oMAxuhQNRY+p4RE8H9LVZIXfZfkUF1ICV+oZZgXWqxsOsDLJGCE eQK9O0RrsMQNcxxO+Pq5e8XVGpTbYXCwKi8ZxXBOEHQgJrTnT/SmpEAWZtmsEn7n+a v8lYqua2pATeu0pUnPi3y0/7uT75IKYADWfqZJtsFZDP3QfswERnL//Qs/GQ5EPjxQ 5Ai/t48CfmF826k/8FqhIo3XeWfStBDegiNMeWfIBDgrw/M6rO6YTDKi/6BtgJns3o irM1LNNkdoGjKw6/gYeblsH1O+Hz+89L2o+/QEe72j2asF+RPJfMS5FzfT4MSbA1Zo CaAZ5ZRiJcmSQ== Received: from johan by xi.lan with local (Exim 4.98.2) (envelope-from ) id 1v9dIa-000000001oW-3W25; Fri, 17 Oct 2025 07:46:45 +0200 From: Johan Hovold To: Vinod Koul , Kishon Vijay Abraham I Cc: linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org, =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Subject: [PATCH] phy: broadcom: bcm63xx-usbh: fix section mismatches Date: Fri, 17 Oct 2025 07:45:37 +0200 Message-ID: <20251017054537.6884-1-johan@kernel.org> X-Mailer: git-send-email 2.49.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Platform drivers can be probed after their init sections have been discarded (e.g. on probe deferral or manual rebind through sysfs) so the probe function and match table must not live in init. Fixes: 783f6d3dcf35 ("phy: bcm63xx-usbh: Add BCM63xx USBH driver") Cc: stable@vger.kernel.org # 5.9 Cc: =C3=81lvaro Fern=C3=A1ndez Rojas Signed-off-by: Johan Hovold Reviewed-by: Neil Armstrong --- drivers/phy/broadcom/phy-bcm63xx-usbh.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/phy/broadcom/phy-bcm63xx-usbh.c b/drivers/phy/broadcom= /phy-bcm63xx-usbh.c index 647644de041b..29fd6791bae6 100644 --- a/drivers/phy/broadcom/phy-bcm63xx-usbh.c +++ b/drivers/phy/broadcom/phy-bcm63xx-usbh.c @@ -375,7 +375,7 @@ static struct phy *bcm63xx_usbh_phy_xlate(struct device= *dev, return of_phy_simple_xlate(dev, args); } =20 -static int __init bcm63xx_usbh_phy_probe(struct platform_device *pdev) +static int bcm63xx_usbh_phy_probe(struct platform_device *pdev) { struct device *dev =3D &pdev->dev; struct bcm63xx_usbh_phy *usbh; @@ -432,7 +432,7 @@ static int __init bcm63xx_usbh_phy_probe(struct platfor= m_device *pdev) return 0; } =20 -static const struct of_device_id bcm63xx_usbh_phy_ids[] __initconst =3D { +static const struct of_device_id bcm63xx_usbh_phy_ids[] =3D { { .compatible =3D "brcm,bcm6318-usbh-phy", .data =3D &usbh_bcm6318 }, { .compatible =3D "brcm,bcm6328-usbh-phy", .data =3D &usbh_bcm6328 }, { .compatible =3D "brcm,bcm6358-usbh-phy", .data =3D &usbh_bcm6358 }, @@ -443,7 +443,7 @@ static const struct of_device_id bcm63xx_usbh_phy_ids[]= __initconst =3D { }; MODULE_DEVICE_TABLE(of, bcm63xx_usbh_phy_ids); =20 -static struct platform_driver bcm63xx_usbh_phy_driver __refdata =3D { +static struct platform_driver bcm63xx_usbh_phy_driver =3D { .driver =3D { .name =3D "bcm63xx-usbh-phy", .of_match_table =3D bcm63xx_usbh_phy_ids, --=20 2.49.1