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)
commit25fd91dc72de6b0491b8cd298a079b9176c0c48e
treeb3bdad8c636279632817a8ec4846200a31ef285b
parentbf0f500bd0199aab613eb0ecb3412edd5472740d
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: 1dac891c1c95 ("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