aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2018-05-18 10:46:15 +0000
committerDavid Howells <[email protected]>2018-05-18 10:46:15 +0000
commit564def71765caf65040f926c0783b9c27cc6c087 (patch)
treebf7b7051f76e961a082819f5eb126384495d0a89 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentafs: Rearrange fs/afs/proc.c to remove remaining predeclarations. (diff)
downloadkernel-564def71765caf65040f926c0783b9c27cc6c087.tar.gz
kernel-564def71765caf65040f926c0783b9c27cc6c087.zip
proc: Add a way to make network proc files writable
Provide two extra functions, proc_create_net_data_write() and proc_create_net_single_write() that act like their non-write versions but also set a write method in the proc_dir_entry struct. An internal simple write function is provided that will copy its buffer and hand it to the pde->write() method if available (or give an error if not). The buffer may be modified by the write method. Signed-off-by: David Howells <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions