[PATCH 20/22] usb: fsl-mph-dr-of: mark fsl_usb2_mpc5121_init() static
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Tue Nov 21 06:12:23 PST 2023
On Wed, Nov 08, 2023 at 01:58:41PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
>
> This function is only called locally and should always have been static:
>
> drivers/usb/host/fsl-mph-dr-of.c:291:5: error: no previous prototype for 'fsl_usb2_mpc5121_init' [-Werror=missing-prototypes]
>
> Fixes: 230f7ede6c2f ("USB: add USB EHCI support for MPC5121 SoC")
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
More information about the linux-riscv
mailing list