diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2017-11-21 17:04:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-27 11:20:35 +0300 |
commit | a6404e6e5a0e2933e10be3e42311ee6b65b821fc (patch) | |
tree | fb6a9476965912b83f0ae0fae27ef316920469bc /drivers/staging/most/core.h | |
parent | 14ae5f0383924e502139a2a6e8cbfadc985d3218 (diff) | |
download | linux-a6404e6e5a0e2933e10be3e42311ee6b65b821fc.tar.xz |
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.h | 1 |
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); |