diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-08-20 06:54:15 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-08-28 04:40:30 +0200 |
commit | 47b2505efb2d951f16c3a229d93450b463d925e5 (patch) | |
tree | d50508c076a4719a948647eb6a0ba8051b6e1102 /drivers/gpu/drm/nouveau/nouveau_platform.h | |
parent | drm/nouveau/disp: transition outp/conn away from being based on nvkm_object (diff) | |
download | linux-47b2505efb2d951f16c3a229d93450b463d925e5.tar.xz linux-47b2505efb2d951f16c3a229d93450b463d925e5.zip |
drm/nouveau/platform: remove subclassing of nvkm_device
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_platform.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_platform.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_platform.h b/drivers/gpu/drm/nouveau/nouveau_platform.h index 392874cf4725..7a4020f31cc5 100644 --- a/drivers/gpu/drm/nouveau/nouveau_platform.h +++ b/drivers/gpu/drm/nouveau/nouveau_platform.h @@ -54,19 +54,9 @@ struct nouveau_platform_gpu { struct iommu_domain *domain; unsigned long pgshift; } iommu; -}; - -struct nouveau_platform_device { - struct nvkm_device device; - - struct nouveau_platform_gpu *gpu; int gpu_speedo; }; -#define nv_device_to_platform(d) \ - container_of(d, struct nouveau_platform_device, device) - extern struct platform_driver nouveau_platform_driver; - #endif |