summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/gpio
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-08-20 07:54:16 +0300
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 05:40:33 +0300
commit3a8c3400f3e74638bedd0d2410416aa8b794c0fd (patch)
tree58e96ece8de1e14939754ecb14f126d8bb937c2d /drivers/gpu/drm/nouveau/nvkm/subdev/gpio
parentaa35888ff024b18c7b6b29eb773a221f642987f7 (diff)
downloadlinux-3a8c3400f3e74638bedd0d2410416aa8b794c0fd.tar.xz
drm/nouveau/subdev: rename some functions to avoid upcoming conflicts
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/gpio')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c b/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
index 1f10e7e773c2..07db5845f8b2 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
@@ -168,7 +168,7 @@ _nvkm_gpio_fini(struct nvkm_object *object, bool suspend)
impl->intr_mask(gpio, NVKM_GPIO_TOGGLED, mask, 0);
impl->intr_stat(gpio, &mask, &mask);
- return nvkm_subdev_fini(&gpio->subdev, suspend);
+ return nvkm_subdev_fini_old(&gpio->subdev, suspend);
}
static struct dmi_system_id gpio_reset_ids[] = {
@@ -188,7 +188,7 @@ _nvkm_gpio_init(struct nvkm_object *object)
struct nvkm_gpio *gpio = nvkm_gpio(object);
int ret;
- ret = nvkm_subdev_init(&gpio->subdev);
+ ret = nvkm_subdev_init_old(&gpio->subdev);
if (ret)
return ret;