blob: d4ac0e526627c7e11e6819c2ebee8789539151f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
--- ./drivers/gpu/drm/nouveau/nouveau_fence.h
+++ ./drivers/gpu/drm/nouveau/nouveau_fence.h
@@ -43,7 +43,7 @@
int (*sync)(struct nouveau_fence *, struct nouveau_channel *,
struct nouveau_channel *);
u32 (*read)(struct nouveau_channel *);
-};
+} __no_const;
#define nouveau_fence(drm) ((struct nouveau_fence_priv *)(drm)->fence)
--- ./drivers/gpu/drm/nouveau/nouveau_bios.c
+++ ./drivers/gpu/drm/nouveau/nouveau_bios.c
@@ -1015,7 +1015,7 @@
struct bit_table {
const char id;
int (* const parse_fn)(struct drm_device *, struct nvbios *, struct bit_entry *);
-};
+} __no_const;
#define BIT_TABLE(id, funcid) ((struct bit_table){ id, parse_bit_##funcid##_tbl_entry })
--- ./include/drm/drm_crtc_helper.h
+++ ./include/drm/drm_crtc_helper.h
@@ -109,7 +109,7 @@
struct drm_connector *connector);
/* disable encoder when not in use - more explicit than dpms off */
void (*disable)(struct drm_encoder *encoder);
-};
+} __no_const;
/**
* drm_connector_helper_funcs - helper operations for connectors
|