linux/drivers/gpu/host1x
Thierry Reding 8e0d788c6f gpu: host1x: Fix build warnings
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>
2013-12-19 09:29:52 +01:00
..
hw gpu: host1x: Use the correct HW headers for host1x02 2013-12-19 09:29:51 +01:00
bus.c gpu: host1x: Export public API 2013-12-19 09:29:50 +01:00
bus.h drm/tegra: Move subdevice infrastructure to host1x 2013-10-31 09:55:33 +01:00
cdma.c gpu: host1x: Expose syncpt and channel functionality 2013-10-31 09:20:11 +01:00
cdma.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
channel.c gpu: host1x: Export public API 2013-12-19 09:29:50 +01:00
channel.h gpu: host1x: Expose syncpt and channel functionality 2013-10-31 09:20:11 +01:00
debug.c gpu: host1x: Fix build warnings 2013-12-19 09:29:52 +01:00
debug.h gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
dev.c gpu: host1x: Add MIPI pad calibration support 2013-12-19 09:29:43 +01:00
dev.h gpu: host1x: Add MIPI pad calibration support 2013-12-19 09:29:43 +01:00
intr.c gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
intr.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
job.c gpu: host1x: Export public API 2013-12-19 09:29:50 +01:00
job.h gpu: host1x: Expose syncpt and channel functionality 2013-10-31 09:20:11 +01:00
Kconfig gpu: host1x: Increase compile test coverage 2013-12-19 09:29:51 +01:00
Makefile gpu: host1x: Add MIPI pad calibration support 2013-12-19 09:29:43 +01:00
mipi.c gpu: host1x: Fix more sparse warnings 2013-12-19 09:29:51 +01:00
syncpt.c gpu: host1x: Export public API 2013-12-19 09:29:50 +01:00
syncpt.h gpu: host1x: Add syncpoint base support 2013-10-31 09:55:48 +01:00