diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-06-09 13:38:33 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-06-16 07:05:04 +0300 |
commit | 5499473c86503bb8e307ff7b554643a99a9478c2 (patch) | |
tree | 4cd58969f75619e856c8fd777bd87a00ebae3710 /drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c | |
parent | 876ea7be6a71614ef80c05037350a2ff986e3a80 (diff) | |
download | linux-5499473c86503bb8e307ff7b554643a99a9478c2.tar.xz |
drm/nouveau: use proper prototype in nouveau_pmops_runtime() definition
There is a prototype for this function in the header, but the function
itself lacks a 'void' in the argument list, causing a harmless warning
when building with 'make W=1':
drivers/gpu/drm/nouveau/nouveau_drm.c: In function 'nouveau_pmops_runtime':
drivers/gpu/drm/nouveau/nouveau_drm.c:730:1: error: old-style function definition [-Werror=old-style-definition]
Fixes: 321f5c5f2c49 ("drm/nouveau: replace multiple open-coded runpm support checks with function")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c')
0 files changed, 0 insertions, 0 deletions