diff options
author | Chen-Yu Tsai <wens@csie.org> | 2017-02-23 16:05:35 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-03-07 22:15:16 +0100 |
commit | 2b2c22bf1c7017d8b4ac088c33b58fae4786d569 (patch) | |
tree | 92e839ebd98c9701b77bd31324f98a0db1b78de3 /kernel/kcov.c | |
parent | 7544860733d158e3edbf309f27e79e258c8f66bd (diff) |
drm/sun4i: Add end of list element for sun4i_layers_init's returned list
The number of defined planes in sun4i_layer is unknown to other parts
of the sun4i drm driver. Since the return value of sun4i_layers_init
is a list of layers, make it return 1 more empty layer as an end of
list guard value.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'kernel/kcov.c')
0 files changed, 0 insertions, 0 deletions