From patchwork Thu Feb 18 21:38:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: omar ramirez X-Patchwork-Id: 80441 X-Patchwork-Delegate: omar.ramirez@ti.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1ILPUil004523 for ; Thu, 18 Feb 2010 21:25:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756226Ab0BRVZ3 (ORCPT ); Thu, 18 Feb 2010 16:25:29 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:43577 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753950Ab0BRVZ0 (ORCPT ); Thu, 18 Feb 2010 16:25:26 -0500 Received: from dlep36.itg.ti.com ([157.170.170.91]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id o1ILPOn7001874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Feb 2010 15:25:24 -0600 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id o1ILPNxY013192; Thu, 18 Feb 2010 15:25:23 -0600 (CST) Received: from Matrix (matrix.am.dhcp.ti.com [128.247.75.166]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id o1ILPNZ20004; Thu, 18 Feb 2010 15:25:23 -0600 (CST) Received: by Matrix (Postfix, from userid 1003) id 6853F410613; Thu, 18 Feb 2010 15:38:04 -0600 (CST) From: Omar Ramirez Luna To: linux-omap Cc: Ameya Palande , Hiroshi Doyu , Felipe Contreras , Nishanth Menon , Omar Ramirez Luna Subject: [PATCH 11/12] DSPBRIDGE: Remove debug header files Date: Thu, 18 Feb 2010 15:38:02 -0600 Message-Id: <1266529083-2358-12-git-send-email-omar.ramirez@ti.com> X-Mailer: git-send-email 1.5.4.3 In-Reply-To: <1266529083-2358-11-git-send-email-omar.ramirez@ti.com> References: <1266529083-2358-1-git-send-email-omar.ramirez@ti.com> <1266529083-2358-2-git-send-email-omar.ramirez@ti.com> <1266529083-2358-3-git-send-email-omar.ramirez@ti.com> <1266529083-2358-4-git-send-email-omar.ramirez@ti.com> <1266529083-2358-5-git-send-email-omar.ramirez@ti.com> <1266529083-2358-6-git-send-email-omar.ramirez@ti.com> <1266529083-2358-7-git-send-email-omar.ramirez@ti.com> <1266529083-2358-8-git-send-email-omar.ramirez@ti.com> <1266529083-2358-9-git-send-email-omar.ramirez@ti.com> <1266529083-2358-10-git-send-email-omar.ramirez@ti.com> <1266529083-2358-11-git-send-email-omar.ramirez@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 18 Feb 2010 21:25:31 +0000 (UTC) diff --git a/arch/arm/plat-omap/include/dspbridge/dbc.h b/arch/arm/plat-omap/include/dspbridge/dbc.h index 1b3ac44..c4bf803 100644 --- a/arch/arm/plat-omap/include/dspbridge/dbc.h +++ b/arch/arm/plat-omap/include/dspbridge/dbc.h @@ -32,8 +32,6 @@ /* Assertion Macros: */ #if GT_TRACE -#include - #define DBC_Assert(exp) \ if (!(exp)) \ pr_err("%s, line %d: Assertion (" #exp ") failed.\n", \ diff --git a/arch/arm/plat-omap/include/dspbridge/dbg.h b/arch/arm/plat-omap/include/dspbridge/dbg.h deleted file mode 100644 index 828fd71..0000000 --- a/arch/arm/plat-omap/include/dspbridge/dbg.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * dbg.h - * - * DSP-BIOS Bridge driver support functions for TI OMAP processors. - * - * Provide debugging services for Bridge Mini Drivers. - * - * Copyright (C) 2008 Texas Instruments, Inc. - * - * This package is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - */ - -#ifndef DBG_ -#define DBG_ -#include -#include - -#endif /* DBG_ */ diff --git a/arch/arm/plat-omap/include/dspbridge/gt.h b/arch/arm/plat-omap/include/dspbridge/gt.h deleted file mode 100644 index 116bb6f..0000000 --- a/arch/arm/plat-omap/include/dspbridge/gt.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * gt.h - * - * DSP-BIOS Bridge driver support functions for TI OMAP processors. - * - * Copyright (C) 2008 Texas Instruments, Inc. - * - * This package is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - */ - -/* - * There are two definitions that affect which portions of trace - * are acutally compiled into the client: GT_TRACE and GT_ASSERT. If - * GT_TRACE is set to 0 then all trace statements (except for assertions) - * will be compiled out of the client. If GT_ASSERT is set to 0 then - * assertions will be compiled out of the client. GT_ASSERT can not be - * set to 0 unless GT_TRACE is also set to 0 (i.e. GT_TRACE == 1 implies - * GT_ASSERT == 1). - */ - -#include -#ifndef GT_ -#define GT_ - -#ifndef GT_TRACE -#define GT_TRACE 0 /* 0 = "trace compiled out"; 1 = "trace active" */ -#endif - -#include - -#endif /* GTCE_ */ diff --git a/drivers/dsp/bridge/pmgr/chnl.c b/drivers/dsp/bridge/pmgr/chnl.c index cfece9c..6331b97 100644 --- a/drivers/dsp/bridge/pmgr/chnl.c +++ b/drivers/dsp/bridge/pmgr/chnl.c @@ -27,7 +27,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/pmgr/cmm.c b/drivers/dsp/bridge/pmgr/cmm.c index e8fed86..0cd50b1 100644 --- a/drivers/dsp/bridge/pmgr/cmm.c +++ b/drivers/dsp/bridge/pmgr/cmm.c @@ -37,7 +37,6 @@ /* ----------------------------------- Trace & Debug */ #include #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/pmgr/cod.c b/drivers/dsp/bridge/pmgr/cod.c index 9552618..1b535fd 100644 --- a/drivers/dsp/bridge/pmgr/cod.c +++ b/drivers/dsp/bridge/pmgr/cod.c @@ -32,7 +32,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/pmgr/dbll.c b/drivers/dsp/bridge/pmgr/dbll.c index 0970974..904e03d 100644 --- a/drivers/dsp/bridge/pmgr/dbll.c +++ b/drivers/dsp/bridge/pmgr/dbll.c @@ -23,7 +23,6 @@ #include /* ----------------------------------- Trace & Debug */ -#include #include #include diff --git a/drivers/dsp/bridge/pmgr/dev.c b/drivers/dsp/bridge/pmgr/dev.c index 20faf87..42c5c6a 100644 --- a/drivers/dsp/bridge/pmgr/dev.c +++ b/drivers/dsp/bridge/pmgr/dev.c @@ -26,8 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/pmgr/dmm.c b/drivers/dsp/bridge/pmgr/dmm.c index 9a1c6b0..b0d5d5c 100644 --- a/drivers/dsp/bridge/pmgr/dmm.c +++ b/drivers/dsp/bridge/pmgr/dmm.c @@ -31,7 +31,6 @@ /* ----------------------------------- Trace & Debug */ #include #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/pmgr/io.c b/drivers/dsp/bridge/pmgr/io.c index 846562a..701d047 100644 --- a/drivers/dsp/bridge/pmgr/io.c +++ b/drivers/dsp/bridge/pmgr/io.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/pmgr/msg.c b/drivers/dsp/bridge/pmgr/msg.c index b7f3fc4..0f40051 100644 --- a/drivers/dsp/bridge/pmgr/msg.c +++ b/drivers/dsp/bridge/pmgr/msg.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/bridge/pmgr/wcd.c index 20a2b04..08728d1 100644 --- a/drivers/dsp/bridge/pmgr/wcd.c +++ b/drivers/dsp/bridge/pmgr/wcd.c @@ -27,7 +27,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/rmgr/dbdcd.c b/drivers/dsp/bridge/rmgr/dbdcd.c index 9fd05a0..0fcf9cc 100644 --- a/drivers/dsp/bridge/rmgr/dbdcd.c +++ b/drivers/dsp/bridge/rmgr/dbdcd.c @@ -32,7 +32,6 @@ #include /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/rmgr/disp.c b/drivers/dsp/bridge/rmgr/disp.c index 6ae3bcb..645f233 100644 --- a/drivers/dsp/bridge/rmgr/disp.c +++ b/drivers/dsp/bridge/rmgr/disp.c @@ -26,7 +26,6 @@ #include /* ----------------------------------- Trace & Debug */ -#include #include /* ----------------------------------- OS Adaptation Layer */ diff --git a/drivers/dsp/bridge/rmgr/drv.c b/drivers/dsp/bridge/rmgr/drv.c index 177d676..f323c8f 100644 --- a/drivers/dsp/bridge/rmgr/drv.c +++ b/drivers/dsp/bridge/rmgr/drv.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b/drivers/dsp/bridge/rmgr/drv_interface.c index 1d09bb5..74478dd 100644 --- a/drivers/dsp/bridge/rmgr/drv_interface.c +++ b/drivers/dsp/bridge/rmgr/drv_interface.c @@ -37,7 +37,6 @@ #include /* ----------------------------------- Trace & Debug */ -#include #include /* ----------------------------------- OS Adaptation Layer */ diff --git a/drivers/dsp/bridge/rmgr/dspdrv.c b/drivers/dsp/bridge/rmgr/dspdrv.c index 0fdb150..cc965c4 100644 --- a/drivers/dsp/bridge/rmgr/dspdrv.c +++ b/drivers/dsp/bridge/rmgr/dspdrv.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/rmgr/mgr.c b/drivers/dsp/bridge/rmgr/mgr.c index e63aaa1..cf015a4 100644 --- a/drivers/dsp/bridge/rmgr/mgr.c +++ b/drivers/dsp/bridge/rmgr/mgr.c @@ -25,7 +25,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/rmgr/nldr.c b/drivers/dsp/bridge/rmgr/nldr.c index 5c1266d..9e9dfc8 100644 --- a/drivers/dsp/bridge/rmgr/nldr.c +++ b/drivers/dsp/bridge/rmgr/nldr.c @@ -23,10 +23,6 @@ #include #include -#include -#ifdef CONFIG_BRIDGE_DEBUG -#include -#endif /* OS adaptation layer */ #include diff --git a/drivers/dsp/bridge/rmgr/node.c b/drivers/dsp/bridge/rmgr/node.c index cb3d324..4eb6582 100644 --- a/drivers/dsp/bridge/rmgr/node.c +++ b/drivers/dsp/bridge/rmgr/node.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include @@ -56,7 +55,6 @@ #include #ifdef CONFIG_BRIDGE_DEBUG #include -#include #endif /* ----------------------------------- This */ diff --git a/drivers/dsp/bridge/rmgr/proc.c b/drivers/dsp/bridge/rmgr/proc.c index 8489cd3..c5f4577 100644 --- a/drivers/dsp/bridge/rmgr/proc.c +++ b/drivers/dsp/bridge/rmgr/proc.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/rmgr/rmm.c b/drivers/dsp/bridge/rmgr/rmm.c index 188faba..506bc57 100644 --- a/drivers/dsp/bridge/rmgr/rmm.c +++ b/drivers/dsp/bridge/rmgr/rmm.c @@ -44,7 +44,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/rmgr/strm.c b/drivers/dsp/bridge/rmgr/strm.c index 6b62e41..63319ee 100644 --- a/drivers/dsp/bridge/rmgr/strm.c +++ b/drivers/dsp/bridge/rmgr/strm.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/services/cfg.c b/drivers/dsp/bridge/services/cfg.c index 19c296e..1b7e0ea 100644 --- a/drivers/dsp/bridge/services/cfg.c +++ b/drivers/dsp/bridge/services/cfg.c @@ -23,7 +23,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/services/clk.c b/drivers/dsp/bridge/services/clk.c index d279036..4ef4290 100644 --- a/drivers/dsp/bridge/services/clk.c +++ b/drivers/dsp/bridge/services/clk.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/services/mem.c b/drivers/dsp/bridge/services/mem.c index 9eb50e5..740377f 100644 --- a/drivers/dsp/bridge/services/mem.c +++ b/drivers/dsp/bridge/services/mem.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- This */ #include diff --git a/drivers/dsp/bridge/services/ntfy.c b/drivers/dsp/bridge/services/ntfy.c index 4908be1..4e73c5f 100644 --- a/drivers/dsp/bridge/services/ntfy.c +++ b/drivers/dsp/bridge/services/ntfy.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/services/reg.c b/drivers/dsp/bridge/services/reg.c index 2e87982..2187aed 100644 --- a/drivers/dsp/bridge/services/reg.c +++ b/drivers/dsp/bridge/services/reg.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/services/regsup.c b/drivers/dsp/bridge/services/regsup.c index fc625f4..8df6fec 100644 --- a/drivers/dsp/bridge/services/regsup.c +++ b/drivers/dsp/bridge/services/regsup.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/services/services.c b/drivers/dsp/bridge/services/services.c index f1a8fa8..dac0b39 100644 --- a/drivers/dsp/bridge/services/services.c +++ b/drivers/dsp/bridge/services/services.c @@ -24,11 +24,9 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include -#include #include #include #include diff --git a/drivers/dsp/bridge/services/sync.c b/drivers/dsp/bridge/services/sync.c index f9cac58..bd07938 100644 --- a/drivers/dsp/bridge/services/sync.c +++ b/drivers/dsp/bridge/services/sync.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/wmd/chnl_sm.c b/drivers/dsp/bridge/wmd/chnl_sm.c index e681303..3696fad 100644 --- a/drivers/dsp/bridge/wmd/chnl_sm.c +++ b/drivers/dsp/bridge/wmd/chnl_sm.c @@ -52,7 +52,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/wmd/io_sm.c b/drivers/dsp/bridge/wmd/io_sm.c index 967fb17..e863478 100644 --- a/drivers/dsp/bridge/wmd/io_sm.c +++ b/drivers/dsp/bridge/wmd/io_sm.c @@ -35,7 +35,6 @@ /* Trace & Debug */ #include -#include /* Services Layer */ #include @@ -70,7 +69,6 @@ /* This */ #include #include "_msg_sm.h" -#include /* Defines, Data Structures, Typedefs */ #define OUTPUTNOTREADY 0xffff diff --git a/drivers/dsp/bridge/wmd/mmu_fault.c b/drivers/dsp/bridge/wmd/mmu_fault.c index 1a9137d..8cac1ef 100644 --- a/drivers/dsp/bridge/wmd/mmu_fault.c +++ b/drivers/dsp/bridge/wmd/mmu_fault.c @@ -24,7 +24,6 @@ /* ----------------------------------- Trace & Debug */ #include #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/wmd/tiomap3430.c b/drivers/dsp/bridge/wmd/tiomap3430.c index c91f919..b19d479 100644 --- a/drivers/dsp/bridge/wmd/tiomap3430.c +++ b/drivers/dsp/bridge/wmd/tiomap3430.c @@ -33,7 +33,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/wmd/tiomap3430_pwr.c b/drivers/dsp/bridge/wmd/tiomap3430_pwr.c index bdff0a7..16e786a 100644 --- a/drivers/dsp/bridge/wmd/tiomap3430_pwr.c +++ b/drivers/dsp/bridge/wmd/tiomap3430_pwr.c @@ -24,9 +24,6 @@ #include #include -/* ----------------------------------- Trace & Debug */ -#include - /* ----------------------------------- OS Adaptation Layer */ #include diff --git a/drivers/dsp/bridge/wmd/tiomap_io.c b/drivers/dsp/bridge/wmd/tiomap_io.c index d11d605..d107a3c 100644 --- a/drivers/dsp/bridge/wmd/tiomap_io.c +++ b/drivers/dsp/bridge/wmd/tiomap_io.c @@ -22,7 +22,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- Platform Manager */ #include diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c b/drivers/dsp/bridge/wmd/tiomap_sm.c index 3fa24cd..ed18fdd 100644 --- a/drivers/dsp/bridge/wmd/tiomap_sm.c +++ b/drivers/dsp/bridge/wmd/tiomap_sm.c @@ -21,8 +21,6 @@ #include #include -#include - #include "_tiomap.h" #include "_tiomap_pwr.h" diff --git a/drivers/dsp/bridge/wmd/ue_deh.c b/drivers/dsp/bridge/wmd/ue_deh.c index 618d6e2..5c69f7e 100644 --- a/drivers/dsp/bridge/wmd/ue_deh.c +++ b/drivers/dsp/bridge/wmd/ue_deh.c @@ -26,7 +26,6 @@ /* ----------------------------------- Trace & Debug */ #include -#include /* ----------------------------------- OS Adaptation Layer */ #include