summaryrefslogtreecommitdiff
path: root/drivers/platform/sprd/clock-sc8830_dt.c
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
committerYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
commit8e4bff4cab0ddac6060645b0715210484d02ff40 (patch)
tree3a5c3024371a04692a3a6d9974d001cdff8ebf84 /drivers/platform/sprd/clock-sc8830_dt.c
Initial file dump from open source releaseHEADmaster
Diffstat (limited to 'drivers/platform/sprd/clock-sc8830_dt.c')
-rw-r--r--drivers/platform/sprd/clock-sc8830_dt.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/platform/sprd/clock-sc8830_dt.c b/drivers/platform/sprd/clock-sc8830_dt.c
new file mode 100644
index 00000000..72398373
--- /dev/null
+++ b/drivers/platform/sprd/clock-sc8830_dt.c
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2012 Spreadtrum Communications Inc.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+#include <linux/init.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+
+/* FIXME:
+ * called by sprd_init_time() in CONFIG_OF, but not load DT
+ * see board-sp8830gea.c
+ */
+#if defined(CONFIG_OF)
+int __init sci_clock_init(void)
+{
+ WARN_ON(1);
+ return 0;
+}
+#endif