dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/17] drm/nouveau/core: add missing header dependencies
@ 2016-10-22  9:41 Baoyou Xie
  2016-10-22  9:41 ` [PATCH 02/17] drm/nouveau/bios: mark symbols static where possible Baoyou Xie
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: Baoyou Xie @ 2016-10-22  9:41 UTC (permalink / raw)
  To: bskeggs, airlied, acourbot, imirkin, Julia.Lawall, martin.peres,
	rspliet, nouveau
  Cc: dri-devel, nouveau, linux-kernel, arnd, baoyou.xie, xie.baoyou,
	han.fei, tang.qiang007

We get 2 warnings when building kernel with W=1:
drivers/gpu/drm/nouveau/nvkm/core/firmware.c:34:1: warning: no previous prototype for 'nvkm_firmware_get' [-Wmissing-prototypes]
drivers/gpu/drm/nouveau/nvkm/core/firmware.c:58:1: warning: no previous prototype for 'nvkm_firmware_put' [-Wmissing-prototypes]

In fact, these functions are declared in
drivers/gpu/drm/nouveau/include/nvkm/core/firmware.h.
So this patch adds missing header dependencies.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
---
 drivers/gpu/drm/nouveau/nvkm/core/firmware.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/nouveau/nvkm/core/firmware.c b/drivers/gpu/drm/nouveau/nvkm/core/firmware.c
index 34ecd4a..058ff46 100644
--- a/drivers/gpu/drm/nouveau/nvkm/core/firmware.c
+++ b/drivers/gpu/drm/nouveau/nvkm/core/firmware.c
@@ -20,6 +20,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 #include <core/device.h>
+#include <core/firmware.h>
 
 /**
  * nvkm_firmware_get - load firmware from the official nvidia/chip/ directory
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2016-10-25  0:23 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-22  9:41 [PATCH 01/17] drm/nouveau/core: add missing header dependencies Baoyou Xie
2016-10-22  9:41 ` [PATCH 02/17] drm/nouveau/bios: mark symbols static where possible Baoyou Xie
2016-10-22  9:41 ` [PATCH 05/17] drm/nouveau/fb: " Baoyou Xie
2016-10-22  9:41 ` [PATCH 10/17] drm/nouveau/device: mark symbol " Baoyou Xie
2016-10-22  9:41 ` [PATCH 11/17] drm/nouveau/disp: mark symbols " Baoyou Xie
     [not found] ` <1477129318-29677-1-git-send-email-baoyou.xie-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-10-22  9:41   ` [PATCH 03/17] drm/nouveau/clk: mark symbol " Baoyou Xie
2016-10-22  9:41   ` [PATCH 04/17] drm/nouveau/fb: add missing header dependencies Baoyou Xie
2016-10-22  9:41   ` [PATCH 06/17] drm/nouveau/gpio: mark symbol static where possible Baoyou Xie
2016-10-22  9:41   ` [PATCH 07/17] drm/nouveau/secboot: " Baoyou Xie
2016-10-22  9:41   ` [PATCH 08/17] drm/nouveau/volt: add missing header dependencies Baoyou Xie
2016-10-22  9:41   ` [PATCH 09/17] drm/nouveau/volt: mark symbols static where possible Baoyou Xie
2016-10-22  9:41   ` [PATCH 12/17] drm/nouveau/fifo: " Baoyou Xie
2016-10-22  9:41   ` [PATCH 13/17] drm/nouveau/gr: add missing header dependencies Baoyou Xie
2016-10-22  9:41   ` [PATCH 14/17] drm/nouveau/gr: mark symbols static where possible Baoyou Xie
2016-10-22  9:41   ` [PATCH 16/17] drm/nouveau/dispnv04: add missing header dependencies Baoyou Xie
2016-10-22  9:41   ` [PATCH 17/17] drm/nouveau: mark symbols static where possible Baoyou Xie
2016-10-22 17:32   ` [PATCH 01/17] drm/nouveau/core: add missing header dependencies Karol Herbst
     [not found]     ` <CAEXux-ZYknEnU=D4qA_xv162vXF4UpVG-W9eNk68ahQoPP0ozQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-24  7:13       ` Baoyou Xie
2016-10-24 15:43         ` [Nouveau] " Karol Herbst
     [not found]           ` <CAEXux-Y+MXCawYsWm3gNgjA+7y6iVqqJN0n_cLNqR2U33GRWrA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-25  0:23             ` Baoyou Xie
2016-10-22  9:41 ` [PATCH 15/17] drm/nouveau/pm: mark symbols static where possible Baoyou Xie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).