Message ID | 20180822204307.13251-6-lkundrak@v3.sk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Convert ehci-mv to DT | expand |
On Wed 2018-08-22 22:42:58, Lubomir Rintel wrote: > This will replace the ttc_usb_pdata.phy_{de,}init()> ">" -> "."? > Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Acked-by: Pavel Machek <pavel@ucw.cz> > arch/arm/mach-mmp/ttc_dkb.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/mach-mmp/ttc_dkb.c b/arch/arm/mach-mmp/ttc_dkb.c > index c7897fb2b6da..767dcb23ee1c 100644 > --- a/arch/arm/mach-mmp/ttc_dkb.c > +++ b/arch/arm/mach-mmp/ttc_dkb.c > @@ -282,6 +282,10 @@ static void __init ttc_dkb_init(void) > sizeof(struct pxa_gpio_platform_data)); > platform_add_devices(ARRAY_AND_SIZE(ttc_dkb_devices)); > > +#if IS_ENABLED(CONFIG_PHY_PXA_USB) > + platform_device_register(&pxa168_device_usb_phy); > +#endif
diff --git a/arch/arm/mach-mmp/ttc_dkb.c b/arch/arm/mach-mmp/ttc_dkb.c index c7897fb2b6da..767dcb23ee1c 100644 --- a/arch/arm/mach-mmp/ttc_dkb.c +++ b/arch/arm/mach-mmp/ttc_dkb.c @@ -282,6 +282,10 @@ static void __init ttc_dkb_init(void) sizeof(struct pxa_gpio_platform_data)); platform_add_devices(ARRAY_AND_SIZE(ttc_dkb_devices)); +#if IS_ENABLED(CONFIG_PHY_PXA_USB) + platform_device_register(&pxa168_device_usb_phy); +#endif + #if IS_ENABLED(CONFIG_USB_MV_UDC) pxa168_device_u2o.dev.platform_data = &ttc_usb_pdata; platform_device_register(&pxa168_device_u2o);
This will replace the ttc_usb_pdata.phy_{de,}init()> Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> --- arch/arm/mach-mmp/ttc_dkb.c | 4 ++++ 1 file changed, 4 insertions(+)