Commit f3a8b664 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau: silence sparse warnings about symbols not being marked static



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 91cf301f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -157,4 +157,6 @@ struct nvkm_ram_func {
	int (*prog)(struct nvkm_ram *);
	void (*tidy)(struct nvkm_ram *);
};

extern const u8 gf100_pte_storage_type_map[256];
#endif
+1 −0
Original line number Diff line number Diff line
@@ -109,5 +109,6 @@ nouveau_connector_create(struct drm_device *, int index);
extern int nouveau_tv_disable;
extern int nouveau_ignorelid;
extern int nouveau_duallink;
extern int nouveau_hdmimhz;

#endif /* __NOUVEAU_CONNECTOR_H__ */
+1 −0
Original line number Diff line number Diff line
@@ -1037,6 +1037,7 @@ static void nouveau_display_options(void)
	DRM_DEBUG_DRIVER("... modeset      : %d\n", nouveau_modeset);
	DRM_DEBUG_DRIVER("... runpm        : %d\n", nouveau_runtime_pm);
	DRM_DEBUG_DRIVER("... vram_pushbuf : %d\n", nouveau_vram_pushbuf);
	DRM_DEBUG_DRIVER("... hdmimhz      : %d\n", nouveau_hdmimhz);
}

static const struct dev_pm_ops nouveau_pm_ops = {
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ nvif_client_fini(struct nvif_client *client)
	}
}

const struct nvif_driver *
static const struct nvif_driver *
nvif_drivers[] = {
#ifdef __KERNEL__
	&nvif_driver_nvkm,
+2 −2
Original line number Diff line number Diff line
uint32_t gf100_ce_data[] = {
static uint32_t gf100_ce_data[] = {
/* 0x0000: ctx_object */
	0x00000000,
/* 0x0004: ctx_query_address_high */
@@ -171,7 +171,7 @@ uint32_t gf100_ce_data[] = {
	0x00000800,
};

uint32_t gf100_ce_code[] = {
static uint32_t gf100_ce_code[] = {
/* 0x0000: main */
	0x04fe04bd,
	0x3517f000,
Loading