[U-Boot] [PATCH 1/9] ioport.h: Remove struct resource & co

Marek Vasut marex at denx.de
Fri Jan 29 15:06:33 CET 2016


On Friday, January 29, 2016 at 02:54:47 PM, Paul Burton wrote:
> We only use struct resource in a single place (drivers/usb/dwc3/core.h)
> for a field (xhci_resources) which is never used. Only ARM currently
> defines resource_size_t which means linux/ioport.h only compiles there.
> In preparation for making use of the IORESOURCE_ flags, remove struct
> resource & the various declarations of functions which we don't
> implement.
> 
> Signed-off-by: Paul Burton <paul.burton at imgtec.com>
> ---
> 
>  drivers/usb/dwc3/core.h |   1 -
>  include/linux/ioport.h  | 104
> ------------------------------------------------ 2 files changed, 105
> deletions(-)

I believe the driver is imported from Linux kernel, so it'd be much better
to sync the driver with mainline Linux instead of starting to diverge.

Best regards,
Marek Vasut


More information about the U-Boot mailing list