diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-02 21:29:37 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:02:35 -0700 |
commit | a8fcffbde4cedf319f7009cec21baddf9422685e (patch) | |
tree | 844273a59ce2ab7b1a3ad0280eeaa73c4b64e9a0 /drivers/staging/meilhaus/meslist.h | |
parent | 06bf27ddaae4deb796ec90a11c5ecefd7364e3ed (diff) |
Staging: meilhaus: remove the drivers
The comedi drivers should be used instead, no need to have
these in here as well.
Cc: David Kiliani <mail@davidkiliani.de>
Cc: Meilhaus Support <support@meilhaus.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/meilhaus/meslist.h')
-rw-r--r-- | drivers/staging/meilhaus/meslist.h | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/drivers/staging/meilhaus/meslist.h b/drivers/staging/meilhaus/meslist.h deleted file mode 100644 index d26c89693d2..00000000000 --- a/drivers/staging/meilhaus/meslist.h +++ /dev/null @@ -1,108 +0,0 @@ -/** - * @file me_slist.h - * - * @brief Provides the subdevice list class. - * @note Copyright (C) 2007 Meilhaus Electronic GmbH (support@meilhaus.de) - * @author Guenter Gebhardt - */ - -#ifndef _ME_SLIST_H_ -#define _ME_SLIST_H_ - -#include <linux/list.h> - -#include "mesubdevice.h" - -#ifdef __KERNEL__ - -/** - * @brief The subdevice list container. - */ -typedef struct me_slist { - struct list_head head; /**< The head of the internal list. */ - unsigned int n; /**< The number of subdevices in the list. */ -} me_slist_t; - -/** - * @brief Queries the number of subdevices currently inside the list. - * - * @param slist The subdevice list to query. - * @param[out] number The number of subdevices of the device. - * - * @return ME-iDS error code. - */ -int me_slist_query_number_subdevices(struct me_slist *slist, int *number); - -/** - * @brief Returns the number of subdevices currently inside the list. - * - * @param slist The subdevice list to query. - * - * @return The number of subdevices in the list. - */ -unsigned int me_slist_get_number_subdevices(struct me_slist *slist); - -/** - * @brief Get a subdevice by index. - * - * @param slist The subdevice list to query. - * @param index The index of the subdevice to get in the list. - * - * @return The subdevice at index if available.\n - * NULL if the index is out of range. - */ -me_subdevice_t *me_slist_get_subdevice(struct me_slist *slist, - unsigned int index); - -/** - * @brief Get a subdevice index by type and subtype. - * - * @param slist The subdevice list to query. - * @param start_subdevice The subdevice index at which the start shall begin. - * @param type The type of the subdevice to query. - * @param subtype The subtype of the subdevice to query. - * @param[out] subdevice On success this parameter returns the index of the subdevice matching the requested type. - * - * @return ME_ERRNO_SUCCESS on success. - */ -int me_slist_get_subdevice_by_type(struct me_slist *slist, - unsigned int start_subdevice, - int type, int subtype, int *subdevice); - -/** - * @brief Adds a subdevice to the tail of the list. - * - * @param slist The subdevice list to add a subdevice to. - * @param subdevice The subdevice to add to the list. - */ -void me_slist_add_subdevice_tail(struct me_slist *slist, - me_subdevice_t * subdevice); - -/** - * @brief Removes a subdevice from the tail of the list. - * - * @param slist The subdevice list. - * - * @return Pointer to the removed subdeivce.\n - * NULL in cases where the list was empty. - */ -me_subdevice_t *me_slist_del_subdevice_tail(struct me_slist *slist); - -/** - * @brief Initializes a subdevice list structure. - * - * @param lock The subdevice list structure to initialize. - * @return 0 on success. - */ -int me_slist_init(me_slist_t * slist); - -/** - * @brief Deinitializes a subdevice list structure and destructs every subdevice in it. - * - * @param slist The subdevice list structure to deinitialize. - * @return 0 on success. - */ -void me_slist_deinit(me_slist_t * slist); - -#endif -#endif |