diff options
Diffstat (limited to 'drivers/platform/sprd/clock-sc8830_dt.c')
| -rw-r--r-- | drivers/platform/sprd/clock-sc8830_dt.c | 29 |
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 |
