platform: tegra: move tegra_fiq_debugger from mach-tegra
Varun Wadekar [Tue, 3 Dec 2013 12:17:43 +0000 (17:17 +0530)]
Bug 1418248

Change-Id: I8855f9bc62fb256dd241af52c474e48931b6e8ff
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/338105

arch/arm/mach-tegra/Makefile
drivers/platform/tegra/Makefile
drivers/platform/tegra/tegra_fiq_debugger.c [moved from arch/arm/mach-tegra/tegra_fiq_debugger.c with 96% similarity]
include/linux/tegra_fiq_debugger.h [moved from arch/arm/mach-tegra/include/mach/tegra_fiq_debugger.h with 100% similarity]

index 2352ca7..5898464 100644 (file)
@@ -93,7 +93,6 @@ obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += powergate-t12x.o
 
 obj-y                                   += apbio.o
 obj-y                                   += mc.o
-obj-$(CONFIG_TEGRA_FIQ_DEBUGGER)        += tegra_fiq_debugger.o
 obj-$(CONFIG_TEGRA_ARB_SEMAPHORE)       += arb_sema.o
 obj-$(CONFIG_PM_GENERIC_DOMAINS)        += pm_domains.o
 obj-y                                   += dvfs.o
index 9a79517..6128b82 100644 (file)
@@ -4,3 +4,4 @@
 #
 obj-$(CONFIG_USB_SUPPORT)               += tegra_usb_pmc.o
 obj-$(CONFIG_TEGRA_USB_SHARED_PAD)      += tegra_usb_pad_ctrl.o
+obj-$(CONFIG_TEGRA_FIQ_DEBUGGER)        += tegra_fiq_debugger.o
similarity index 96%
rename from arch/arm/mach-tegra/tegra_fiq_debugger.c
rename to drivers/platform/tegra/tegra_fiq_debugger.c
index ef01a6c..302b081 100644 (file)
@@ -1,9 +1,10 @@
 /*
- * arch/arm/mach-tegra/fiq_debugger.c
+ * platform/tegra/fiq_debugger.c
  *
  * Serial Debugger Interface for Tegra
  *
  * Copyright (C) 2008 Google, Inc.
+ * Copyright (c) 2012-2013, NVIDIA CORPORATION.  All rights reserved.
  *
  * This software is licensed under the terms of the GNU General Public
  * License version 2, as published by the Free Software Foundation, and
 #include <linux/serial_reg.h>
 #include <linux/slab.h>
 #include <linux/stacktrace.h>
+#include <linux/irqchip/tegra.h>
+#include <linux/tegra_fiq_debugger.h>
+
 #include <asm/fiq_debugger.h>
-#include <mach/tegra_fiq_debugger.h>
-#include <mach/fiq.h>
 
 #include <linux/uaccess.h>