diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-06-28 14:02:37 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-06-28 14:02:37 +1000 |
commit | 5ea05de9f2e3eb247648a3f15032f1777f1e6d4b (patch) | |
tree | 13e6ebc3e5266b7dc4f92c14a6d74320d7ade8ec /drivers/staging/tidspbridge/include/dspbridge/services.h | |
parent | 887534f673c010693d213184c2b34e0a2f483211 (diff) | |
parent | 12513b76a021e5b41a9d5d5981da75dfd6480890 (diff) |
Merge remote branch 'staging-next/staging-next'
Conflicts:
drivers/staging/batman-adv/bat_sysfs.c
drivers/staging/batman-adv/device.c
Diffstat (limited to 'drivers/staging/tidspbridge/include/dspbridge/services.h')
-rw-r--r-- | drivers/staging/tidspbridge/include/dspbridge/services.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/drivers/staging/tidspbridge/include/dspbridge/services.h b/drivers/staging/tidspbridge/include/dspbridge/services.h new file mode 100644 index 000000000000..eb26c867c931 --- /dev/null +++ b/drivers/staging/tidspbridge/include/dspbridge/services.h @@ -0,0 +1,50 @@ +/* + * 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_ */ |