Skip to content

Commit 5d3d01a

Browse files
tq-steinagregkh
authored andcommitted
usb: host: ehci-fsl: Fix module alias
Commit ca07e1c ("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: ca07e1c ("drivers:usb:fsl:Make fsl ehci drv an independent driver module") Cc: stable <stable@kernel.org> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Link: https://lore.kernel.org/r/20230120122714.3848784-1-alexander.stein@ew.tq-group.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent dcbf174 commit 5d3d01a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/host/ehci-fsl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#include "ehci-fsl.h"
3030

3131
#define DRIVER_DESC "Freescale EHCI Host controller driver"
32-
#define DRV_NAME "ehci-fsl"
32+
#define DRV_NAME "fsl-ehci"
3333

3434
static struct hc_driver __read_mostly fsl_ehci_hc_driver;
3535

0 commit comments

Comments
 (0)