summaryrefslogtreecommitdiff
path: root/drivers/staging/most/core.h
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2017-11-21 15:04:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-27 09:20:35 +0100
commita6404e6e5a0e2933e10be3e42311ee6b65b821fc (patch)
treefb6a9476965912b83f0ae0fae27ef316920469bc /drivers/staging/most/core.h
parent14ae5f0383924e502139a2a6e8cbfadc985d3218 (diff)
staging: most: core: track aim modules with linked list
The core needs to know what modules are registered. This patch makes the core keep track of the registered modules. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/core.h')
-rw-r--r--drivers/staging/most/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/most/core.h b/drivers/staging/most/core.h
index 29595d9ef7ed..845e1d63d8fc 100644
--- a/drivers/staging/most/core.h
+++ b/drivers/staging/most/core.h
@@ -263,6 +263,7 @@ struct most_interface {
*/
struct most_aim {
struct device dev;
+ struct list_head list;
const char *name;
int (*probe_channel)(struct most_interface *iface, int channel_idx,
struct most_channel_config *cfg, char *name);