Files
linux-apfs/drivers
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
..
2013-11-27 01:03:27 +01:00
2013-11-19 15:53:02 -05:00
2013-12-11 16:45:13 -07:00
2013-12-19 09:29:52 +01:00
2013-12-02 21:11:30 +00:00
2013-12-10 08:48:15 +01:00