]> 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)
commitb80dbe0899c004b63189a2ac976f3098abb4fa2b
treeb3bdad8c636279632817a8ec4846200a31ef285b
parent0d1bf7a2a2e1121f813c95ac8dbc3fb742bae4c5
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: b42135abdbd2 ("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