mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
8e0d788c6f
When debugfs support isn't enabled, gcc complains about some variables being unused. To avoid further #ifdefery, move debugfs specific setup code into static functions and use IS_ENABLED(CONFIG_DEBUG_FS) to have the compiler, rather than the preprocessor, discard them when unused. The advantage of doing it this way is that all the code will be compile-tested whether or not debugfs support is enabled. Signed-off-by: Thierry Reding <treding@nvidia.com> |
||
---|---|---|
.. | ||
hw | ||
bus.c | ||
bus.h | ||
cdma.c | ||
cdma.h | ||
channel.c | ||
channel.h | ||
debug.c | ||
debug.h | ||
dev.c | ||
dev.h | ||
intr.c | ||
intr.h | ||
job.c | ||
job.h | ||
Kconfig | ||
Makefile | ||
mipi.c | ||
syncpt.c | ||
syncpt.h |