[buildroot] disable sstrip when using musl
[openwrt/svn-archive/archive.git] / target / linux / ubicom32 / files / arch / ubicom32 / mach-common / common.c
1 /*
2 * arch/ubicom32/mach-common/common.c
3 * Common platform support.
4 *
5 * (C) Copyright 2009, Ubicom, Inc.
6 *
7 * This file is part of the Ubicom32 Linux Kernel Port.
8 *
9 * The Ubicom32 Linux Kernel Port is free software: you can redistribute
10 * it and/or modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation, either version 2 of the
12 * License, or (at your option) any later version.
13 *
14 * The Ubicom32 Linux Kernel Port is distributed in the hope that it
15 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
16 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
17 * the GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with the Ubicom32 Linux Kernel Port. If not,
21 * see <http://www.gnu.org/licenses/>.
22 *
23 * Ubicom32 implementation derived from (with many thanks):
24 * arch/m68knommu
25 * arch/blackfin
26 * arch/parisc
27 */
28 #include <linux/version.h>
29 #include <linux/kernel.h>
30 #include <linux/init.h>
31 #include <linux/module.h>
32 #include <linux/list.h>
33 #include <linux/errno.h>
34 #include <linux/err.h>
35 #include <linux/string.h>
36 #include <linux/clk.h>
37 #include <linux/mutex.h>
38 #include <linux/platform_device.h>
39
40
41 /* Minimum CLK support */
42
43 struct clk *clk_get(struct device *dev, const char *id)
44 {
45 return ERR_PTR(-ENOENT);
46 }
47 EXPORT_SYMBOL(clk_get);
48
49 void clk_put(struct clk *clk)
50 {
51 }
52 EXPORT_SYMBOL(clk_put);
53
54 int clk_enable(struct clk *clk)
55 {
56 return 0;
57 }
58 EXPORT_SYMBOL(clk_enable);
59
60
61 void clk_disable(struct clk *clk)
62 {
63 }
64 EXPORT_SYMBOL(clk_disable);