-
- Downloads
usb: gadget: s3c-hsudc: remove platform header dependency
There is no real phy driver, so s3c-hsudc just pokes the registers itself. Improve this a little by making it a platform data callback like we do for gpios. There is only one board using this driver, and it's unlikely that another would be added, so this is a minimal workaround. Signed-off-by:Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20200806182059.2431-9-krzk@kernel.org [krzk: Include regs-s3c2443-clock.h in ifdef to fixup build on s3c6400] Signed-off-by:
Krzysztof Kozlowski <krzk@kernel.org>
Showing
- arch/arm/mach-s3c24xx/include/mach/regs-s3c2443-clock.h 49 additions, 0 deletionsarch/arm/mach-s3c24xx/include/mach/regs-s3c2443-clock.h
- arch/arm/plat-samsung/devs.c 6 additions, 0 deletionsarch/arm/plat-samsung/devs.c
- drivers/usb/gadget/udc/s3c-hsudc.c 4 additions, 51 deletionsdrivers/usb/gadget/udc/s3c-hsudc.c
- include/linux/platform_data/s3c-hsudc.h 2 additions, 0 deletionsinclude/linux/platform_data/s3c-hsudc.h
Please register or sign in to comment