]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: broadcom: bcm63xx-usbh: fix section mismatches
authorJohan Hovold <johan@kernel.org>
Fri, 17 Oct 2025 05:45:37 +0000 (07:45 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 20 Nov 2025 16:31:55 +0000 (22:01 +0530)
commit356d1924b9a6bc2164ce2bf1fad147b0c37ae085
tree905a392244c14ed454844337915c555ca637e948
parent785a9d5bb145109558063080ebc9a3e8be86471d
phy: broadcom: bcm63xx-usbh: fix section mismatches

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: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20251017054537.6884-1-johan@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/broadcom/phy-bcm63xx-usbh.c