[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210927150659.GB361082@rowland.harvard.edu>
Date: Mon, 27 Sep 2021 11:06:59 -0400
From: Alan Stern <stern@...land.harvard.edu>
To: Arnd Bergmann <arnd@...nel.org>
Cc: soc@...nel.org, Aaro Koskinen <aaro.koskinen@....fi>,
Tony Lindgren <tony@...mide.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Arnd Bergmann <arnd@...db.de>,
Felipe Balbi <felipe.balbi@...ux.intel.com>,
linux-omap@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [PATCH] ARM: omap1: move omap15xx local bus handling to usb.c
On Mon, Sep 27, 2021 at 04:40:50PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> Commit 38225f2ef2f4 ("ARM/omap1: switch to use dma_direct_set_offset for
> lbus DMA offsets") removed a lot of mach/memory.h, but left the USB
> offset handling split into arch/arm/mach-omap1/usb.c and
> drivers/usb/host/ohci-omap.c.
>
> This can cause a randconfig build warning that now fails the build
> with -Werror:
>
> arch/arm/mach-omap1/usb.c:561:30: error: 'omap_1510_usb_ohci_nb' defined but not used [-Werror=unused-variable]
> 561 | static struct notifier_block omap_1510_usb_ohci_nb = {
> | ^~~~~~~~~~~~~~~~~~~~~
>
> Move it all into the platform file to get rid of the final
> location that relies on mach/memory.h.
>
> Acked-by: Felipe Balbi <felipe.balbi@...ux.intel.com>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
For the ohci-omap.c portion:
Acked-by: Alan Stern <stern@...land.harvard.edu>
Powered by blists - more mailing lists