Commit 5d3d01ae authored by Alexander Stein's avatar Alexander Stein Committed by Greg Kroah-Hartman

usb: host: ehci-fsl: Fix module alias

Commit ca07e1c1 ("drivers:usb:fsl:Make fsl ehci drv an independent
driver module") changed DRV_NAME which was used for MODULE_ALIAS as well.
Starting from this the module alias didn't match the platform device
name created in fsl-mph-dr-of.c
Change DRV_NAME to match the driver name for host mode in fsl-mph-dr-of.
This is needed for module autoloading on ls1021a.

Fixes: ca07e1c1 ("drivers:usb:fsl:Make fsl ehci drv an independent driver module")
Cc: stable <stable@kernel.org>
Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20230120122714.3848784-1-alexander.stein@ew.tq-group.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dcbf1742
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "ehci-fsl.h" #include "ehci-fsl.h"
#define DRIVER_DESC "Freescale EHCI Host controller driver" #define DRIVER_DESC "Freescale EHCI Host controller driver"
#define DRV_NAME "ehci-fsl" #define DRV_NAME "fsl-ehci"
static struct hc_driver __read_mostly fsl_ehci_hc_driver; static struct hc_driver __read_mostly fsl_ehci_hc_driver;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment