summaryrefslogtreecommitdiff
path: root/target/linux/ramips/patches-3.8/0078-clocksource-make-clocksource_of_init-pass-a-device_n.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-14 18:00:34 +0000
committerJohn Crispin <john@openwrt.org>2013-07-14 18:00:34 +0000
commit89c03927368852cf912e76d553bcc7671f6c16cd (patch)
treec396a709343fe323501f82c078fc93d435701e9b /target/linux/ramips/patches-3.8/0078-clocksource-make-clocksource_of_init-pass-a-device_n.patch
parenteb0a44917eea1b2d673d26c28df5aecbb8d77d67 (diff)
downloadmtk-20170518-89c03927368852cf912e76d553bcc7671f6c16cd.zip
mtk-20170518-89c03927368852cf912e76d553bcc7671f6c16cd.tar.gz
mtk-20170518-89c03927368852cf912e76d553bcc7671f6c16cd.tar.bz2
ralink: drop v3.8 support
Signed-off-by: John Crispin <blogic@opewnrt.org> SVN-Revision: 37311
Diffstat (limited to 'target/linux/ramips/patches-3.8/0078-clocksource-make-clocksource_of_init-pass-a-device_n.patch')
-rw-r--r--target/linux/ramips/patches-3.8/0078-clocksource-make-clocksource_of_init-pass-a-device_n.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/target/linux/ramips/patches-3.8/0078-clocksource-make-clocksource_of_init-pass-a-device_n.patch b/target/linux/ramips/patches-3.8/0078-clocksource-make-clocksource_of_init-pass-a-device_n.patch
deleted file mode 100644
index 218dfc3..0000000
--- a/target/linux/ramips/patches-3.8/0078-clocksource-make-clocksource_of_init-pass-a-device_n.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 0e00abf87d50e80b1ce5bda65a4d89adc530ba10 Mon Sep 17 00:00:00 2001
-From: John Crispin <blogic@openwrt.org>
-Date: Thu, 23 May 2013 16:58:12 +0200
-Subject: [PATCH 78/79] clocksource: make clocksource_of_init() pass a
- device_node pointer
-
-If we look at the clocksources that are OF enabled we will notice, that they
-all do a of_find_matching_node() when being called. This patch changes
-clocksource_of_init() to always pass the struct device_node pointer to the
-init function.
-
-Signed-off-by: John Crispin <blogic@openwrt.org>
----
- drivers/clocksource/clksrc-of.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/clocksource/clksrc-of.c b/drivers/clocksource/clksrc-of.c
-index bdabdaa..3ef11fb 100644
---- a/drivers/clocksource/clksrc-of.c
-+++ b/drivers/clocksource/clksrc-of.c
-@@ -26,10 +26,10 @@ void __init clocksource_of_init(void)
- {
- struct device_node *np;
- const struct of_device_id *match;
-- void (*init_func)(void);
-+ void (*init_func)(struct device_node *);
-
- for_each_matching_node_and_match(np, __clksrc_of_table, &match) {
- init_func = match->data;
-- init_func();
-+ init_func(np);
- }
- }
---
-1.7.10.4
-