]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
Merge tag 'drm-msm-fixes-2021-01-07' of https://gitlab.freedesktop.org/drm/msm into...
[linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_i2c.c
index 411c84194f97c6e3175b1e5f19b3cdcdacc81d46..47cad23a6b9e2b6b81223a55df741e17da7cfbca 100644 (file)
@@ -253,7 +253,7 @@ void amdgpu_i2c_add(struct amdgpu_device *adev,
                    const struct amdgpu_i2c_bus_rec *rec,
                    const char *name)
 {
-       struct drm_device *dev = adev->ddev;
+       struct drm_device *dev = adev_to_drm(adev);
        int i;
 
        for (i = 0; i < AMDGPU_MAX_I2C_BUS; i++) {
This page took 0.036483 seconds and 4 git commands to generate.