-/*
- * Copyright (C) 2010 Google, Inc.
- *
- * Author:
- * Iliyan Malchev <malchev@google.com>
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * 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.
- *
- */
-
#ifndef __ASM_ARCH_RK30_FIQ_H
#define __ASM_ARCH_RK30_FIQ_H
-/* enable/disable an interrupt that is an FIQ (safe from FIQ context?) */
-void rk_fiq_enable(int n);
-void rk_fiq_disable(int n);
-void rk_irq_setpending(int irq);
-void rk_irq_clearpending(int irq);
+#include <plat/fiq.h>
+
void rk30_fiq_init(void);
+
#endif
--- /dev/null
+#ifndef __PLAT_FIQ_H
+#define __PLAT_FIQ_H
+
+/* enable/disable an interrupt that is an FIQ (safe from FIQ context?) */
+void rk_fiq_enable(int n);
+void rk_fiq_disable(int n);
+void rk_irq_setpending(int irq);
+void rk_irq_clearpending(int irq);
+
+#endif
#include <linux/serial_reg.h>
#include <linux/slab.h>
#include <linux/stacktrace.h>
+#include <linux/uaccess.h>
#include <asm/fiq_debugger.h>
#include <asm/hardware/gic.h>
#include <plat/rk_fiq_debugger.h>
-#include <mach/system.h>
-#include <mach/fiq.h>
-
-#include <linux/uaccess.h>
+#include <plat/fiq.h>
struct rk_fiq_debugger {
struct fiq_debugger_pdata pdata;