drm: Implement dummies for debugfs helpers
authorThierry Reding <thierry.reding@gmail.com>
Thu, 12 Dec 2013 14:44:04 +0000 (15:44 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2013 00:58:11 +0000 (10:58 +1000)
commit66ee52e284a6cb387a7b28e29e8282da253efc97
tree12deaee9910ab92e90dcbb4f4326096254478cda
parent46eeb2c144956e88197439b5ee5cf221a91b0a81
drm: Implement dummies for debugfs helpers

In case where debugfs support is disabled, define dummy functions to
avoid the need for #ifdefery in drivers.

Based on an earlier patch by Arnd Bergmann.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
include/drm/drmP.h