]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:09:50 +0000 (13:09 +0100)
commit76b52ed875d5d3f43a4cb342707af885c2440566
tree7887678f24a05f6a27dfbcfbd3f1a59acf539306
parent424dd7ef4109cb64219c4b01a4a0d50ccecd14ae
phy: broadcom: bcm63xx-usbh: fix section mismatches

commit 356d1924b9a6bc2164ce2bf1fad147b0c37ae085 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/broadcom/phy-bcm63xx-usbh.c