diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2021-12-14 13:46:19 +0000 |
---|---|---|
committer | Rui Salvaterra <rsalvaterra@gmail.com> | 2021-12-15 09:40:03 +0000 |
commit | c7727833945deb70eed7520ab44fa08b0870b8a7 (patch) | |
tree | 193f5b25a9b5c0dd29dbbf252f9532b7784f52ed /target/linux/ramips/patches-5.4/0117-staging-mt7621-pci-phy-use-builtin_platform_driver.patch | |
parent | 07452a680b571815edadc50fbe9c83311201bac7 (diff) | |
download | upstream-c7727833945deb70eed7520ab44fa08b0870b8a7.tar.gz upstream-c7727833945deb70eed7520ab44fa08b0870b8a7.tar.bz2 upstream-c7727833945deb70eed7520ab44fa08b0870b8a7.zip |
ramips: remove Linux 5.4 support
We're at 5.10 stable, this can finally go.
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'target/linux/ramips/patches-5.4/0117-staging-mt7621-pci-phy-use-builtin_platform_driver.patch')
-rw-r--r-- | target/linux/ramips/patches-5.4/0117-staging-mt7621-pci-phy-use-builtin_platform_driver.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/target/linux/ramips/patches-5.4/0117-staging-mt7621-pci-phy-use-builtin_platform_driver.patch b/target/linux/ramips/patches-5.4/0117-staging-mt7621-pci-phy-use-builtin_platform_driver.patch deleted file mode 100644 index e55def40f5..0000000000 --- a/target/linux/ramips/patches-5.4/0117-staging-mt7621-pci-phy-use-builtin_platform_driver.patch +++ /dev/null @@ -1,32 +0,0 @@ -From ffe3dee4081055b4f58bc50dd3f5c97de42cf126 Mon Sep 17 00:00:00 2001 -From: Sergio Paracuellos <sergio.paracuellos@gmail.com> -Date: Sat, 21 Mar 2020 14:36:23 +0100 -Subject: [PATCH] staging: mt7621-pci-phy: use builtin_platform_driver() - -Macro builtin_platform_driver can be used for builtin drivers -that don't do anything in driver init. So, use the macro -builtin_platform_driver and remove some boilerplate code. - -Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> -Link: https://lore.kernel.org/r/20200321133624.31388-3-sergio.paracuellos@gmail.com -Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ---- - drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - ---- a/drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c -+++ b/drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c -@@ -361,12 +361,7 @@ static struct platform_driver mt7621_pci - }, - }; - --static int __init mt7621_pci_phy_drv_init(void) --{ -- return platform_driver_register(&mt7621_pci_phy_driver); --} -- --module_init(mt7621_pci_phy_drv_init); -+builtin_platform_driver(mt7621_pci_phy_driver); - - MODULE_AUTHOR("Sergio Paracuellos <sergio.paracuellos@gmail.com>"); - MODULE_DESCRIPTION("MediaTek MT7621 PCIe PHY driver"); |