hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/x86/include/asm/apb_timer.h
....@@ -1,13 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * apb_timer.h: Driver for Langwell APB timer based on Synopsis DesignWare
34 *
45 * (C) Copyright 2009 Intel Corporation
56 * Author: Jacob Pan (jacob.jun.pan@intel.com)
6
- *
7
- * This program is free software; you can redistribute it and/or
8
- * modify it under the terms of the GNU General Public License
9
- * as published by the Free Software Foundation; version 2
10
- * of the License.
117 *
128 * Note:
139 */
....@@ -29,11 +25,7 @@
2925 #define APBT_MIN_FREQ 1000000
3026 #define APBT_MMAP_SIZE 1024
3127
32
-#define APBT_DEV_USED 1
33
-
3428 extern void apbt_time_init(void);
35
-extern unsigned long apbt_quick_calibrate(void);
36
-extern int arch_setup_apbt_irqs(int irq, int trigger, int mask, int cpu);
3729 extern void apbt_setup_secondary_clock(void);
3830
3931 extern struct sfi_timer_table_entry *sfi_get_mtmr(int hint);
....@@ -42,7 +34,6 @@
4234
4335 #else /* CONFIG_APB_TIMER */
4436
45
-static inline unsigned long apbt_quick_calibrate(void) {return 0; }
4637 static inline void apbt_time_init(void) { }
4738
4839 #endif