diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-10-18 14:18:04 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-11-08 15:39:50 +1000 |
commit | 1e9fc30e38bbedf5cbba9238393084c35e1df551 (patch) | |
tree | 497c545d8bd7f79bc282e4443e2c18ee39d13fcd /drivers/gpu/drm/nouveau/core/subdev | |
parent | 0fef9d8a59abcd699761cb054b6c37a2bea9e31a (diff) |
drm/nouveau/fb: make external class definitions pointers
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv10.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv1a.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv20.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv25.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv30.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv35.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv36.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv40.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv41.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv44.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv46.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv47.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv49.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv4e.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c | 4 |
17 files changed, 34 insertions, 34 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c index 1f103c7b89f..b88e87b7094 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv04.c @@ -74,8 +74,8 @@ nv04_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, return 0; } -struct nouveau_oclass -nv04_fb_oclass = { +struct nouveau_oclass * +nv04_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x04), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv04_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv10.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv10.c index be069b5306b..ab0ea940cd2 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv10.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv10.c @@ -78,8 +78,8 @@ nv10_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, return 0; } -struct nouveau_oclass -nv10_fb_oclass = { +struct nouveau_oclass * +nv10_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x10), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv10_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv1a.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv1a.c index 57a2af0079b..5c91131ee47 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv1a.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv1a.c @@ -51,8 +51,8 @@ nv1a_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, return 0; } -struct nouveau_oclass -nv1a_fb_oclass = { +struct nouveau_oclass * +nv1a_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x1a), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv1a_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv20.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv20.c index b18c4e63bb4..4ded3c08d61 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv20.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv20.c @@ -102,8 +102,8 @@ nv20_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, return 0; } -struct nouveau_oclass -nv20_fb_oclass = { +struct nouveau_oclass * +nv20_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x20), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv20_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv25.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv25.c index 32ccabf10c4..3c3e37b0d08 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv25.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv25.c @@ -68,8 +68,8 @@ nv25_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, return 0; } -struct nouveau_oclass -nv25_fb_oclass = { +struct nouveau_oclass * +nv25_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x25), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv25_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv30.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv30.c index bef756d43d3..fd05a84a540 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv30.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv30.c @@ -146,8 +146,8 @@ nv30_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, return 0; } -struct nouveau_oclass -nv30_fb_oclass = { +struct nouveau_oclass * +nv30_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x30), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv30_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv35.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv35.c index 097d8e3824f..0c4f82c882f 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv35.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv35.c @@ -69,8 +69,8 @@ nv35_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, return 0; } -struct nouveau_oclass -nv35_fb_oclass = { +struct nouveau_oclass * +nv35_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x35), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv35_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv36.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv36.c index 9d6d9df896d..b3e148a9c75 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv36.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv36.c @@ -69,8 +69,8 @@ nv36_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, return 0; } -struct nouveau_oclass -nv36_fb_oclass = { +struct nouveau_oclass * +nv36_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x36), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv36_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv40.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv40.c index 33b4393a782..c3515409131 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv40.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv40.c @@ -84,8 +84,8 @@ nv40_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, } -struct nouveau_oclass -nv40_fb_oclass = { +struct nouveau_oclass * +nv40_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x40), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv40_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv41.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv41.c index 02cd83789cd..ee682f5cad0 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv41.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv41.c @@ -77,8 +77,8 @@ nv41_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, } -struct nouveau_oclass -nv41_fb_oclass = { +struct nouveau_oclass * +nv41_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x41), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv41_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv44.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv44.c index c5246c29f29..92b4d957449 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv44.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv44.c @@ -86,8 +86,8 @@ nv44_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, } -struct nouveau_oclass -nv44_fb_oclass = { +struct nouveau_oclass * +nv44_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x44), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv44_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv46.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv46.c index e2b57909bfc..50d93d71f47 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv46.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv46.c @@ -66,8 +66,8 @@ nv46_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, } -struct nouveau_oclass -nv46_fb_oclass = { +struct nouveau_oclass * +nv46_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x46), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv46_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv47.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv47.c index fe6a2278621..7c73db28423 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv47.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv47.c @@ -53,8 +53,8 @@ nv47_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, } -struct nouveau_oclass -nv47_fb_oclass = { +struct nouveau_oclass * +nv47_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x47), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv47_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv49.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv49.c index 5eca99b8c7e..9f7a22436e5 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv49.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv49.c @@ -53,8 +53,8 @@ nv49_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, } -struct nouveau_oclass -nv49_fb_oclass = { +struct nouveau_oclass * +nv49_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x49), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv49_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv4e.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv4e.c index 1190b78a1e9..42d7dbf6392 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv4e.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv4e.c @@ -51,8 +51,8 @@ nv4e_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, return 0; } -struct nouveau_oclass -nv4e_fb_oclass = { +struct nouveau_oclass * +nv4e_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x4e), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv4e_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c index da614ec5564..358632129a7 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c @@ -323,8 +323,8 @@ nv50_fb_init(struct nouveau_object *object) return 0; } -struct nouveau_oclass -nv50_fb_oclass = { +struct nouveau_oclass * +nv50_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0x50), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nv50_fb_ctor, diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c index f35d76fd746..5dedce9c518 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c @@ -98,8 +98,8 @@ nvc0_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, } -struct nouveau_oclass -nvc0_fb_oclass = { +struct nouveau_oclass * +nvc0_fb_oclass = &(struct nouveau_oclass) { .handle = NV_SUBDEV(FB, 0xc0), .ofuncs = &(struct nouveau_ofuncs) { .ctor = nvc0_fb_ctor, |