staging: tidspbridge: Remove services.c and services.h
The services_init() and services_exit() functions don't do anything, so they are removed, and as these are the only two functions defined in services.c and services.h, then these files are also removed. Signed-off-by: Ivan Gomez Castellanos <ivan.gomez@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
220344f254
commit
bd5dc30e3e
@@ -1,7 +1,6 @@
|
|||||||
obj-$(CONFIG_TIDSPBRIDGE) += bridgedriver.o
|
obj-$(CONFIG_TIDSPBRIDGE) += bridgedriver.o
|
||||||
|
|
||||||
libgen = gen/gb.o gen/gs.o gen/gh.o gen/uuidutil.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 \
|
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/tiomap3430_pwr.o core/tiomap_io.o \
|
||||||
core/ue_deh.o core/wdt.o core/dsp-clock.o core/sync.o
|
core/ue_deh.o core/wdt.o core/dsp-clock.o core/sync.o
|
||||||
|
@@ -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 <dspbridge/host_os.h>
|
|
||||||
/*
|
|
||||||
* ======== 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_ */
|
|
@@ -29,7 +29,6 @@
|
|||||||
|
|
||||||
/* ----------------------------------- OS Adaptation Layer */
|
/* ----------------------------------- OS Adaptation Layer */
|
||||||
#include <dspbridge/ntfy.h>
|
#include <dspbridge/ntfy.h>
|
||||||
#include <dspbridge/services.h>
|
|
||||||
|
|
||||||
/* ----------------------------------- Platform Manager */
|
/* ----------------------------------- Platform Manager */
|
||||||
#include <dspbridge/chnl.h>
|
#include <dspbridge/chnl.h>
|
||||||
|
@@ -39,7 +39,6 @@
|
|||||||
#include <dspbridge/dbc.h>
|
#include <dspbridge/dbc.h>
|
||||||
|
|
||||||
/* ----------------------------------- OS Adaptation Layer */
|
/* ----------------------------------- OS Adaptation Layer */
|
||||||
#include <dspbridge/services.h>
|
|
||||||
#include <dspbridge/clk.h>
|
#include <dspbridge/clk.h>
|
||||||
#include <dspbridge/sync.h>
|
#include <dspbridge/sync.h>
|
||||||
|
|
||||||
@@ -270,7 +269,6 @@ static int omap3_bridge_startup(struct platform_device *pdev)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
dsp_clk_init();
|
dsp_clk_init();
|
||||||
services_init();
|
|
||||||
|
|
||||||
drv_datap = kzalloc(sizeof(struct drv_data), GFP_KERNEL);
|
drv_datap = kzalloc(sizeof(struct drv_data), GFP_KERNEL);
|
||||||
if (!drv_datap) {
|
if (!drv_datap) {
|
||||||
@@ -327,7 +325,6 @@ err1:
|
|||||||
CPUFREQ_TRANSITION_NOTIFIER);
|
CPUFREQ_TRANSITION_NOTIFIER);
|
||||||
#endif
|
#endif
|
||||||
dsp_clk_exit();
|
dsp_clk_exit();
|
||||||
services_exit();
|
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
@@ -420,7 +417,6 @@ func_cont:
|
|||||||
mem_ext_phys_pool_release();
|
mem_ext_phys_pool_release();
|
||||||
|
|
||||||
dsp_clk_exit();
|
dsp_clk_exit();
|
||||||
services_exit();
|
|
||||||
|
|
||||||
devno = MKDEV(driver_major, 0);
|
devno = MKDEV(driver_major, 0);
|
||||||
cdev_del(&bridge_cdev);
|
cdev_del(&bridge_cdev);
|
||||||
|
@@ -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 <linux/types.h>
|
|
||||||
|
|
||||||
#include <dspbridge/host_os.h>
|
|
||||||
|
|
||||||
/* ----------------------------------- DSP/BIOS Bridge */
|
|
||||||
#include <dspbridge/dbdefs.h>
|
|
||||||
|
|
||||||
/* ----------------------------------- Trace & Debug */
|
|
||||||
#include <dspbridge/dbc.h>
|
|
||||||
|
|
||||||
/* ----------------------------------- OS Adaptation Layer */
|
|
||||||
#include <dspbridge/ntfy.h>
|
|
||||||
#include <dspbridge/sync.h>
|
|
||||||
#include <dspbridge/clk.h>
|
|
||||||
|
|
||||||
/* ----------------------------------- This */
|
|
||||||
#include <dspbridge/services.h>
|
|
||||||
|
|
||||||
/*
|
|
||||||
* ======== 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;
|
|
||||||
}
|
|
Reference in New Issue
Block a user