diff options
author | Bastian Germann <bastiangermann@fishpost.de> | 2020-01-29 19:50:13 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-01-30 11:23:02 +0100 |
commit | 42e051acd32c28c2f93c946d0c4bf6f9eada2aa4 (patch) | |
tree | e1d9e6f95f3eb9a62bb9798782c4faa6c7a8f3f2 /tests/unittests/sysfs_mock/class/mtd/mtd0/numeraseregions | |
parent | 87809c4804d3355ecd2fd0bd3362526fa27bf953 (diff) |
libubi: remove private kernel header from includes
libubi.h includes ubi-media.h which was made private in the kernel a
long time ago. There are users of libubi.h, e.g. swupdate, which have to
have ubi-media.h available at build time with this inclusion.
However, libubi.h uses only one symbol from ubi-media.h. Define that symbol
in the header to enable using libubi.h without installing ubi-media.h.
Make up for the transitive symbol use in ubiformat.c by including ubi-media.h.
Signed-off-by: Bastian Germann <bastiangermann@fishpost.de>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/unittests/sysfs_mock/class/mtd/mtd0/numeraseregions')
0 files changed, 0 insertions, 0 deletions