From 011310ed1b4bbd5f3c6894b87bd1c8e36737b021 Mon Sep 17 00:00:00 2001 From: Ivan Gomez Castellanos Date: Wed, 25 Aug 2010 17:09:04 -0500 Subject: [PATCH] --- yaml --- r: 219638 b: refs/heads/master c: bd5dc30e3ee68f0aa6c1e282d88740f2d1fa909a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/tidspbridge/Makefile | 1 - .../tidspbridge/include/dspbridge/services.h | 50 ---------------- .../drivers/staging/tidspbridge/pmgr/dspapi.c | 1 - .../staging/tidspbridge/rmgr/drv_interface.c | 4 -- .../staging/tidspbridge/services/services.c | 57 ------------------- 6 files changed, 1 insertion(+), 114 deletions(-) delete mode 100644 trunk/drivers/staging/tidspbridge/include/dspbridge/services.h delete mode 100644 trunk/drivers/staging/tidspbridge/services/services.c diff --git a/[refs] b/[refs] index 4415535de1dc..c5b0cc715e15 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 220344f25418b698f01e2e6e4b6eb00b7cfa21ef +refs/heads/master: bd5dc30e3ee68f0aa6c1e282d88740f2d1fa909a diff --git a/trunk/drivers/staging/tidspbridge/Makefile b/trunk/drivers/staging/tidspbridge/Makefile index 8f0ca88b5ed0..8082d5c7be48 100644 --- a/trunk/drivers/staging/tidspbridge/Makefile +++ b/trunk/drivers/staging/tidspbridge/Makefile @@ -1,7 +1,6 @@ obj-$(CONFIG_TIDSPBRIDGE) += bridgedriver.o libgen = gen/gb.o gen/gs.o gen/gh.o gen/uuidutil.o -libservices = services/services.o libcore = core/chnl_sm.o core/msg_sm.o core/io_sm.o core/tiomap3430.o \ core/tiomap3430_pwr.o core/tiomap_io.o \ core/ue_deh.o core/wdt.o core/dsp-clock.o core/sync.o diff --git a/trunk/drivers/staging/tidspbridge/include/dspbridge/services.h b/trunk/drivers/staging/tidspbridge/include/dspbridge/services.h deleted file mode 100644 index eb26c867c931..000000000000 --- a/trunk/drivers/staging/tidspbridge/include/dspbridge/services.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * services.h - * - * DSP-BIOS Bridge driver support functions for TI OMAP processors. - * - * Provide loading and unloading of SERVICES modules. - * - * Copyright (C) 2005-2006 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 SERVICES_ -#define SERVICES_ - -#include -/* - * ======== services_exit ======== - * Purpose: - * Discontinue usage of module; free resources when reference count - * reaches 0. - * Parameters: - * Returns: - * Requires: - * SERVICES initialized. - * Ensures: - * Resources used by module are freed when cRef reaches zero. - */ -extern void services_exit(void); - -/* - * ======== services_init ======== - * Purpose: - * Initializes SERVICES modules. - * Parameters: - * Returns: - * TRUE if all modules initialized; otherwise FALSE. - * Requires: - * Ensures: - * SERVICES modules initialized. - */ -extern bool services_init(void); - -#endif /* SERVICES_ */ diff --git a/trunk/drivers/staging/tidspbridge/pmgr/dspapi.c b/trunk/drivers/staging/tidspbridge/pmgr/dspapi.c index 10a14441eec9..b23591b0f414 100644 --- a/trunk/drivers/staging/tidspbridge/pmgr/dspapi.c +++ b/trunk/drivers/staging/tidspbridge/pmgr/dspapi.c @@ -29,7 +29,6 @@ /* ----------------------------------- OS Adaptation Layer */ #include -#include /* ----------------------------------- Platform Manager */ #include diff --git a/trunk/drivers/staging/tidspbridge/rmgr/drv_interface.c b/trunk/drivers/staging/tidspbridge/rmgr/drv_interface.c index ae28b96d7b65..4c0b9ee07488 100644 --- a/trunk/drivers/staging/tidspbridge/rmgr/drv_interface.c +++ b/trunk/drivers/staging/tidspbridge/rmgr/drv_interface.c @@ -39,7 +39,6 @@ #include /* ----------------------------------- OS Adaptation Layer */ -#include #include #include @@ -270,7 +269,6 @@ static int omap3_bridge_startup(struct platform_device *pdev) #endif dsp_clk_init(); - services_init(); drv_datap = kzalloc(sizeof(struct drv_data), GFP_KERNEL); if (!drv_datap) { @@ -327,7 +325,6 @@ static int omap3_bridge_startup(struct platform_device *pdev) CPUFREQ_TRANSITION_NOTIFIER); #endif dsp_clk_exit(); - services_exit(); return err; } @@ -420,7 +417,6 @@ static int __devexit omap34_xx_bridge_remove(struct platform_device *pdev) mem_ext_phys_pool_release(); dsp_clk_exit(); - services_exit(); devno = MKDEV(driver_major, 0); cdev_del(&bridge_cdev); diff --git a/trunk/drivers/staging/tidspbridge/services/services.c b/trunk/drivers/staging/tidspbridge/services/services.c deleted file mode 100644 index 3d0497ef0e7f..000000000000 --- a/trunk/drivers/staging/tidspbridge/services/services.c +++ /dev/null @@ -1,57 +0,0 @@ -/* - * services.c - * - * DSP-BIOS Bridge driver support functions for TI OMAP processors. - * - * Provide SERVICES loading. - * - * Copyright (C) 2005-2006 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. - */ - -#include - -#include - -/* ----------------------------------- DSP/BIOS Bridge */ -#include - -/* ----------------------------------- Trace & Debug */ -#include - -/* ----------------------------------- OS Adaptation Layer */ -#include -#include -#include - -/* ----------------------------------- This */ -#include - -/* - * ======== services_exit ======== - * Purpose: - * Discontinue usage of module; free resources when reference count - * reaches 0. - */ -void services_exit(void) -{ -} - -/* - * ======== services_init ======== - * Purpose: - * Initializes SERVICES modules. - */ -bool services_init(void) -{ - bool ret = true; - - return ret; -}