drm/nouveau/debugfs: add infrastructure to add files with other fops than only read
authorKarol Herbst <nouveau@karolherbst.de>
Wed, 29 Jul 2015 11:44:21 +0000 (13:44 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 11 Jan 2016 01:28:24 +0000 (11:28 +1000)
commit1b7ab1a1c3807523417fe4c20876546caf936242
tree0bf6b4a6301002d1a791d3a7a2d8278e999ac51e
parent9402aec5448fe0d307beb0dcebb2153cf9c23161
drm/nouveau/debugfs: add infrastructure to add files with other fops than only read

v2: use the same object for private data as with the drm debugfs functions

Signed-off-by: Karol Herbst <nouveau@karolherbst.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_debugfs.c