diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-04-07 12:57:35 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-04-09 10:15:46 +1000 |
commit | 4528416291e26456e68f7217576e40e589d276bf (patch) | |
tree | b1de183465e90d58b30f0879de9300bdd4f3f1ca /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | 02faec09b2814b6ad3fd202e2f28b3c4b712a3f1 (diff) | |
download | linux-4528416291e26456e68f7217576e40e589d276bf.tar.gz linux-4528416291e26456e68f7217576e40e589d276bf.tar.bz2 linux-4528416291e26456e68f7217576e40e589d276bf.zip |
drm/nv50: implement gpio set/get routines
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index c4f5658b9e49..ace630aa89e1 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h @@ -1162,6 +1162,10 @@ extern int nouveau_gem_ioctl_info(struct drm_device *, void *, int nv17_gpio_get(struct drm_device *dev, enum dcb_gpio_tag tag); int nv17_gpio_set(struct drm_device *dev, enum dcb_gpio_tag tag, int state); +/* nv50_gpio.c */ +int nv50_gpio_get(struct drm_device *dev, enum dcb_gpio_tag tag); +int nv50_gpio_set(struct drm_device *dev, enum dcb_gpio_tag tag, int state); + #ifndef ioread32_native #ifdef __BIG_ENDIAN #define ioread16_native ioread16be |