From patchwork Thu Apr 8 23:15:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: omar ramirez X-Patchwork-Id: 91543 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 o38Mxo5Y010162 for ; Thu, 8 Apr 2010 23:00:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933830Ab0DHW7z (ORCPT ); Thu, 8 Apr 2010 18:59:55 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:57284 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933799Ab0DHW7b (ORCPT ); Thu, 8 Apr 2010 18:59:31 -0400 Received: from dlep36.itg.ti.com ([157.170.170.91]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id o38MxOOT031206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Apr 2010 17:59:24 -0500 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 o38MxO1j029528; Thu, 8 Apr 2010 17:59:24 -0500 (CDT) 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 o38MxNZ16516; Thu, 8 Apr 2010 17:59:23 -0500 (CDT) Received: by Matrix (Postfix, from userid 1003) id 5E18B410159; Thu, 8 Apr 2010 18:16:09 -0500 (CDT) From: Omar Ramirez Luna To: linux-omap@vger.kernel.org Cc: Paul Walmsley , Hiroshi DOYU , Felipe Contreras , Ameya Palande , Guzman Lugo Fernando , Nishanth Menon , Omar Ramirez Luna Subject: [PATCH 09/19] DSPBRIDGE: trivial clock cleanup for unused code Date: Thu, 8 Apr 2010 18:15:58 -0500 Message-Id: <1270768568-10712-10-git-send-email-omar.ramirez@ti.com> X-Mailer: git-send-email 1.5.4.3 In-Reply-To: <1270768568-10712-9-git-send-email-omar.ramirez@ti.com> References: <1270768568-10712-1-git-send-email-omar.ramirez@ti.com> <1270768568-10712-2-git-send-email-omar.ramirez@ti.com> <1270768568-10712-3-git-send-email-omar.ramirez@ti.com> <1270768568-10712-4-git-send-email-omar.ramirez@ti.com> <1270768568-10712-5-git-send-email-omar.ramirez@ti.com> <1270768568-10712-6-git-send-email-omar.ramirez@ti.com> <1270768568-10712-7-git-send-email-omar.ramirez@ti.com> <1270768568-10712-8-git-send-email-omar.ramirez@ti.com> <1270768568-10712-9-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, 08 Apr 2010 23:00:00 +0000 (UTC) diff --git a/arch/arm/plat-omap/include/dspbridge/clk.h b/arch/arm/plat-omap/include/dspbridge/clk.h index 0c16709..44f0f0e 100644 --- a/arch/arm/plat-omap/include/dspbridge/clk.h +++ b/arch/arm/plat-omap/include/dspbridge/clk.h @@ -19,8 +19,6 @@ #ifndef _CLK_H #define _CLK_H - /* Generic TIMER object: */ -struct timer_object; enum dsp_clk_id { DSP_CLK_GPT5_FCK, DSP_CLK_GPT5_ICK, diff --git a/drivers/dsp/bridge/services/clk.c b/drivers/dsp/bridge/services/clk.c index 094fe68..babf043 100644 --- a/drivers/dsp/bridge/services/clk.c +++ b/drivers/dsp/bridge/services/clk.c @@ -35,8 +35,6 @@ /* ----------------------------------- Defines, Data Structures, Typedefs */ -typedef volatile unsigned long reg_uword32; - #define OMAP_SSI_OFFSET 0x58000 #define OMAP_SSI_SIZE 0x1000 #define OMAP_SSI_SYSCONFIG_OFFSET 0x10 @@ -80,11 +78,6 @@ static struct dsp_clk_t dsp_clks[] = { {NULL, ""} }; -/* Generic TIMER object: */ -struct timer_object { - struct timer_list timer; -}; - /* * ======== dsp_clk_exit ======== * Purpose: