summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-02-24 00:46:27 +0100
committerBen Skeggs <bskeggs@redhat.com>2010-02-25 06:09:17 +0100
commita6678b2ace023912000119a14eeb39a56050bc7c (patch)
tree54f0e9cf65de5775acbdf7ec747f20913adc1a03 /drivers
parentdrm/nouveau: allow retrieval of vbios image from debugfs (diff)
downloadlinux-a6678b2ace023912000119a14eeb39a56050bc7c.tar.xz
linux-a6678b2ace023912000119a14eeb39a56050bc7c.zip
drm/nouveau: rename parsed_dcb_gpio to dcb_gpio_table
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_bios.c2
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_bios.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c
index ef2fe964e9ab..ab0ec225140e 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bios.c
@@ -5037,7 +5037,7 @@ read_dcb_i2c_entry(struct drm_device *dev, int dcb_version, uint8_t *i2ctable, i
static struct dcb_gpio_entry *
new_gpio_entry(struct nvbios *bios)
{
- struct parsed_dcb_gpio *gpio = &bios->bdcb.gpio;
+ struct dcb_gpio_table *gpio = &bios->bdcb.gpio;
return &gpio->entry[gpio->entries++];
}
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.h b/drivers/gpu/drm/nouveau/nouveau_bios.h
index fd94bd6dc264..73e6499e79d7 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.h
+++ b/drivers/gpu/drm/nouveau/nouveau_bios.h
@@ -94,7 +94,7 @@ struct dcb_gpio_entry {
bool invert;
};
-struct parsed_dcb_gpio {
+struct dcb_gpio_table {
int entries;
struct dcb_gpio_entry entry[DCB_MAX_NUM_GPIO_ENTRIES];
};
@@ -120,7 +120,7 @@ struct bios_parsed_dcb {
uint8_t i2c_default_indices;
uint16_t gpio_table_ptr;
- struct parsed_dcb_gpio gpio;
+ struct dcb_gpio_table gpio;
uint16_t connector_table_ptr;
struct dcb_connector_table connector;
};