]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: cec: include linux/debugfs.h and linux/seq_file.h where needed
authorJani Nikula <jani.nikula@intel.com>
Tue, 17 Dec 2024 10:00:24 +0000 (12:00 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 7 Jan 2025 11:21:38 +0000 (12:21 +0100)
commitd76bf5267a6bcf25b95dfa1e71da0d3af3435682
tree5607165d78a60a79d303027068364fd60222974f
parent9229b53f9758c74cda145489cece0cd885b65877
media: cec: include linux/debugfs.h and linux/seq_file.h where needed

Having cec.h include linux/debugfs.h leads to all users of all cec
headers include and depend on debugfs.h and its dependencies for no
reason. Drop the include from cec.h, and include debugfs.h and
seq_file.h where needed.

Sort all the modified include lists while at it.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/cec/core/cec-adap.c
drivers/media/cec/core/cec-core.c
drivers/media/cec/core/cec-pin-error-inj.c
drivers/media/cec/core/cec-pin.c
drivers/media/cec/platform/cec-gpio/cec-gpio.c
include/media/cec.h