summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/core/subdev/clock/pllnva3.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-03-05 02:10:24 (GMT)
committerBen Skeggs <bskeggs@redhat.com>2013-07-01 03:43:47 (GMT)
commit7ada785f186b5e68309c402249cd86b910a131c7 (patch)
treea1efe876060dd6632eed5266b5ec12bd56372b32 /drivers/gpu/drm/nouveau/core/subdev/clock/pllnva3.c
parentaca78e91581c05a4bddc5118cfea55d1cd740bd6 (diff)
downloadlinux-fsl-qoriq-7ada785f186b5e68309c402249cd86b910a131c7.tar.xz
drm/nouveau: pass generic subdev to calculation routines
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/clock/pllnva3.c')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/clock/pllnva3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/clock/pllnva3.c b/drivers/gpu/drm/nouveau/core/subdev/clock/pllnva3.c
index eed5c16..4497378 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/clock/pllnva3.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/clock/pllnva3.c
@@ -29,7 +29,7 @@
#include "pll.h"
int
-nva3_pll_calc(struct nouveau_clock *clock, struct nvbios_pll *info,
+nva3_pll_calc(struct nouveau_subdev *subdev, struct nvbios_pll *info,
u32 freq, int *pN, int *pfN, int *pM, int *P)
{
u32 best_err = ~0, err;
@@ -72,7 +72,7 @@ nva3_pll_calc(struct nouveau_clock *clock, struct nvbios_pll *info,
}
if (unlikely(best_err == ~0)) {
- nv_error(clock, "unable to find matching pll values\n");
+ nv_error(subdev, "unable to find matching pll values\n");
return -EINVAL;
}