From 72568ea3bd51a54a68669b4ecdba5879ad7be4cd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 21 May 2016 10:02:29 +0200 Subject: ar71xx: remove linux 4.1 support Signed-off-by: Felix Fietkau --- .../110-export-missing-clk-functions.patch | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 target/linux/ar71xx/patches-4.1/110-export-missing-clk-functions.patch (limited to 'target/linux/ar71xx/patches-4.1/110-export-missing-clk-functions.patch') diff --git a/target/linux/ar71xx/patches-4.1/110-export-missing-clk-functions.patch b/target/linux/ar71xx/patches-4.1/110-export-missing-clk-functions.patch deleted file mode 100644 index b30087c03e..0000000000 --- a/target/linux/ar71xx/patches-4.1/110-export-missing-clk-functions.patch +++ /dev/null @@ -1,28 +0,0 @@ -This exports some clock functions used by some modules. -This fixes this linking problem: - -ERROR: "clk_set_rate" [drivers/usb/phy/phy-generic.ko] undefined! -ERROR: "clk_round_rate" [drivers/media/v4l2-core/videodev.ko] undefined! -ERROR: "clk_set_rate" [drivers/media/v4l2-core/videodev.ko] undefined! - -In the upstream kernel it is fixed here: -https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=411520af8ec9456886359b42628e583ac58e7e44 - ---- a/arch/mips/ath79/clock.c -+++ b/arch/mips/ath79/clock.c -@@ -488,3 +488,15 @@ unsigned long clk_get_rate(struct clk *c - return clk->rate; - } - EXPORT_SYMBOL(clk_get_rate); -+ -+int clk_set_rate(struct clk *clk, unsigned long rate) -+{ -+ return 0; -+} -+EXPORT_SYMBOL_GPL(clk_set_rate); -+ -+long clk_round_rate(struct clk *clk, unsigned long rate) -+{ -+ return 0; -+} -+EXPORT_SYMBOL_GPL(clk_round_rate); -- cgit v1.2.3