]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - arch/sh/boards/of-generic.c
Merge tag 'drm/tegra/for-5.1-rc5' of git://anongit.freedesktop.org/tegra/linux into...
[thirdparty/kernel/stable.git] / arch / sh / boards / of-generic.c
index cde370cad4ae3c0b447929a63e6d197c0a38f562..d91065e81a4e5cffcb2b86463c8dba9190c0d7fa 100644 (file)
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SH generic board support, using device tree
  *
  * Copyright (C) 2015-2016 Smart Energy Instruments, Inc.
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
  */
 
 #include <linux/of.h>
@@ -117,18 +114,10 @@ static void __init sh_of_mem_reserve(void)
        early_init_fdt_scan_reserved_mem();
 }
 
-static void __init sh_of_time_init(void)
-{
-       pr_info("SH generic board support: scanning for clocksource devices\n");
-       timer_probe();
-}
-
 static void __init sh_of_setup(char **cmdline_p)
 {
        struct device_node *root;
 
-       board_time_init = sh_of_time_init;
-
        sh_mv.mv_name = "Unknown SH model";
        root = of_find_node_by_path("/");
        if (root) {
@@ -175,10 +164,10 @@ static struct sh_machine_vector __initmv sh_of_generic_mv = {
 
 struct sh_clk_ops;
 
-void __init arch_init_clk_ops(struct sh_clk_ops **ops, int idx)
+void __init __weak arch_init_clk_ops(struct sh_clk_ops **ops, int idx)
 {
 }
 
-void __init plat_irq_setup(void)
+void __init __weak plat_irq_setup(void)
 {
 }