]> git.baikalelectronics.ru Git - kernel.git/commit
drm: i915: fix build when DEBUG_FS is disabled
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Aug 2016 22:11:24 +0000 (18:11 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Aug 2016 22:11:24 +0000 (18:11 -0400)
commita3dd3e5a437e750e614b8a388096bb3259d01936
treeb3bdad8c636279632817a8ec4846200a31ef285b
parent0506dee731d7e2ac5fec58936cb16f44d87012d9
drm: i915: fix build when DEBUG_FS is disabled

This clearly had never gotten tested, probably because you need a fairly
minimal configuration in order to disable DEBUG_FS (several other
options select it).

The dummy inline functions that were used for the no-DEBUG_FS case were
missing the argument names in the declarations.

Fixes: fdf8d0f7bf35 ("drm/i915: Register debugfs interface last")
Reported-and-tested-by: Jörg Otte <jrg.otte@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/i915/i915_drv.h