Skip to contentSkip to conversation

usb-fsl-mph-dr-of-mark-fsl_usb2_mpc5121_init-static.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Dec 11, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: usb: fsl-mph-dr-of: mark fsl_usb2_mpc5121_init() static
has been removed from the -mm tree. Its filename was

     usb-fsl-mph-dr-of-mark-fsl_usb2_mpc5121_init-static.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Arnd Bergmann <[email protected]>
Subject: usb: fsl-mph-dr-of: mark fsl_usb2_mpc5121_init() static
Date: Thu, 23 Nov 2023 12:05:05 +0100

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")
Cc "David S. Miller" <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Ivan Kokshaysky <[email protected]>
Cc John Paul Adrian Glaubitz <[email protected]>
Cc Kees Cook <[email protected]>
Cc Masahiro Yamada <[email protected]>
Cc Matt Turner <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Nathan Chancellor <[email protected]>
Cc Nicolas Schier <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Richard Henderson <[email protected]>
Cc Richard Weinberger <[email protected]>
Cc Rich Felker <[email protected]>
Cc Stephen Rothwell <[email protected]>
Cc Thomas Bogendoerfer <[email protected]>
Cc Tudor Ambarus <[email protected]>
Cc Yoshinori Sato <[email protected]>
Cc Zhihao Cheng <[email protected]>

---

 drivers/usb/host/fsl-mph-dr-of.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/fsl-mph-dr-of.c renamed from drivers/usb/host/fsl-mph-dr-of.c~usb-fsl-mph-dr-of-mark-fsl_usb2_mpc5121_init-static +1 -1
@@ -288,7 +288,7 @@ static void fsl_usb2_mph_dr_of_remove(st
 #define PHYCTRL_LSFE		(1 << 1)	/* Line State Filter Enable */
 #define PHYCTRL_PXE		(1 << 0)	/* PHY oscillator enable */
 
-int fsl_usb2_mpc5121_init(struct platform_device *pdev)
+static int fsl_usb2_mpc5121_init(struct platform_device *pdev)
 {
 	struct fsl_usb2_platform_data *pdata = dev_get_platdata(&pdev->dev);
 	struct clk *clk;

_

Patches currently in -mm which might be from [email protected] are

kexec-fix-kexec_file-dependencies.patch kexec-fix-kexec_file-dependencies-fix.patch kexec-select-crypto-from-kexec_file-instead-of-depending-on-it.patch makefileextrawarn-turn-on-missing-prototypes-globally.patch