]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "media: dvb header files: move some headers to staging"
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 23 Aug 2021 16:49:09 +0000 (09:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 23 Aug 2021 16:49:09 +0000 (09:49 -0700)
commitd3e569ed7d4d6d73fce228c5a00d34f78d243c3b
tree5a0edc1bcd14908e12d894a2c676006714b91586
parentce1c8ff730a9d52cea6c427c4d2fbd6de7a3061a
Revert "media: dvb header files: move some headers to staging"

This reverts commit 070aac78abc62a0b204ad45fe54a54751a16fe1c.

It turns out that some user-space applications use these uapi header
files, so even though the only user of the interface is an old driver
that was moved to staging, moving the header files causes unnecessary
pain.

Generally, we really don't want user space to use kernel headers
directly (exactly because it causes pain when we re-organize), and
instead copy them as needed.  But these things happen, and the headers
were in the uapi directory, so I guess it's not entirely unreasonable.

Link: https://lore.kernel.org/lkml/4e3e0d40-df4a-94f8-7c2d-85010b0873c4@web.de/
Reported-by: Soeren Moch <smoch@web.de>
Cc: stable@kernel.org # 5.13
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/staging/media/av7110/audio.h [deleted file]
drivers/staging/media/av7110/av7110.h
drivers/staging/media/av7110/osd.h [deleted file]
drivers/staging/media/av7110/video.h [deleted file]
include/uapi/linux/dvb/audio.h [new file with mode: 0644]
include/uapi/linux/dvb/osd.h [new file with mode: 0644]
include/uapi/linux/dvb/video.h [new file with mode: 0644]