Skip to content

Commit

Permalink
drm/nouveau: rename parsed_dcb_gpio to dcb_gpio_table
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Feb 25, 2010
1 parent b42861f commit a6678b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nouveau_bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++];
}
Expand Down
4 changes: 2 additions & 2 deletions drivers/gpu/drm/nouveau/nouveau_bios.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
};
Expand All @@ -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;
};
Expand Down

0 comments on commit a6678b2

Please sign in to comment.