From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 29 Jan 2016 15:06:33 +0100 Subject: [U-Boot] [PATCH 1/9] ioport.h: Remove struct resource & co In-Reply-To: <1454075695-31981-2-git-send-email-paul.burton@imgtec.com> References: <1454075695-31981-1-git-send-email-paul.burton@imgtec.com> <1454075695-31981-2-git-send-email-paul.burton@imgtec.com> Message-ID: <201601291506.33737.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > > 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