diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-04-17 23:03:23 +0200 |
---|---|---|
committer | Karol Herbst <kherbst@redhat.com> | 2023-05-22 16:39:04 +0200 |
commit | 504e72ed3a1b1c0d4450712a42ae6070d3a05a8e (patch) | |
tree | 17ae780f0b082f76ecdc1a1e7310184b938cba15 /drivers/gpu/drm/nouveau/nv50_display.h | |
parent | 74629c49e66cc6d36c46ac4e3f059780873ceedf (diff) | |
download | lwn-504e72ed3a1b1c0d4450712a42ae6070d3a05a8e.tar.gz lwn-504e72ed3a1b1c0d4450712a42ae6070d3a05a8e.zip |
drm/nouveau: dispnv50: fix missing-prototypes warning
nv50_display_create() is declared in another header, along with
a couple of declarations that are now outdated:
drivers/gpu/drm/nouveau/dispnv50/disp.c:2517:1: error: no previous prototype for 'nv50_display_create'
Fixes: ba801ef068c1 ("drm/nouveau/kms: display destroy/init/fini hooks can be static")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230417210329.2469722-1-arnd@kernel.org
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_display.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_display.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.h b/drivers/gpu/drm/nouveau/nv50_display.h index fbd3b15583bc..60f77766766e 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.h +++ b/drivers/gpu/drm/nouveau/nv50_display.h @@ -31,7 +31,5 @@ #include "nouveau_reg.h" int nv50_display_create(struct drm_device *); -void nv50_display_destroy(struct drm_device *); -int nv50_display_init(struct drm_device *); -void nv50_display_fini(struct drm_device *); + #endif /* __NV50_DISPLAY_H__ */ |