commit | 42e252a65d3bbd36106b3e243cb1e11136cecdf4 | [log] [tgz] |
---|---|---|
author | Christian Gromm <christian.gromm@microchip.com> | Tue Dec 22 10:52:53 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 07 17:34:58 2016 -0800 |
tree | b2bfd31caf4ba8deb8f50e302db3844c3083121d | |
parent | 44fe57818b8038ece1d6089c5075a5c73ad7e18a [diff] |
staging: most: move initialization of pointer This patch makes function store_add_link initialize the pointer to an AIM right before the channel is probed. It is needed, the AIM may already call most_start_channel while probe_channel is still running. At this point the pointer to the AIM must not be NULL. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>