diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-05-13 10:33:23 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-06-11 16:09:14 +1000 |
commit | bc3b0c41b1caa6b12f510f300587c52275218b45 (patch) | |
tree | 06dfb047001c604fc4aa496a93d34bfb3af0a14c /drivers/gpu/drm/nouveau/core/include/subdev/gpio.h | |
parent | f4277a0e4212dab176a2f8cce2f91e7d948a371f (diff) |
drm/nouveau/gpio: use base constructor for all implementations
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/include/subdev/gpio.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/include/subdev/gpio.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/nouveau/core/include/subdev/gpio.h b/drivers/gpu/drm/nouveau/core/include/subdev/gpio.h index 856216aa3b33..2e2effa66442 100644 --- a/drivers/gpu/drm/nouveau/core/include/subdev/gpio.h +++ b/drivers/gpu/drm/nouveau/core/include/subdev/gpio.h @@ -13,12 +13,7 @@ struct nouveau_gpio { struct nouveau_event *events; - /* hardware interfaces */ void (*reset)(struct nouveau_gpio *, u8 func); - int (*drive)(struct nouveau_gpio *, int line, int dir, int out); - int (*sense)(struct nouveau_gpio *, int line); - - /* software interfaces */ int (*find)(struct nouveau_gpio *, int idx, u8 tag, u8 line, struct dcb_gpio_func *); int (*set)(struct nouveau_gpio *, int idx, u8 tag, u8 line, int state); |