drm/nouveau/core: add missing header dependencies
authorBaoyou Xie <baoyou.xie@linaro.org>
Sun, 18 Sep 2016 12:58:53 +0000 (20:58 +0800)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 12 Oct 2016 07:29:30 +0000 (17:29 +1000)
commitd6c6035af7ccadd647832681d6b2a53d4c8705de
tree99659f5fbe176090c442701f17902915c1d65436
parent1cc88ab9542441b3371104872eefc4924408aaa3
drm/nouveau/core: add missing header dependencies

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, both 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>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/core/firmware.c