diff options
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bios.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bios.h | 4 |
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 | |||
5037 | static struct dcb_gpio_entry * | 5037 | static struct dcb_gpio_entry * |
5038 | new_gpio_entry(struct nvbios *bios) | 5038 | new_gpio_entry(struct nvbios *bios) |
5039 | { | 5039 | { |
5040 | struct parsed_dcb_gpio *gpio = &bios->bdcb.gpio; | 5040 | struct dcb_gpio_table *gpio = &bios->bdcb.gpio; |
5041 | 5041 | ||
5042 | return &gpio->entry[gpio->entries++]; | 5042 | return &gpio->entry[gpio->entries++]; |
5043 | } | 5043 | } |
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 { | |||
94 | bool invert; | 94 | bool invert; |
95 | }; | 95 | }; |
96 | 96 | ||
97 | struct parsed_dcb_gpio { | 97 | struct dcb_gpio_table { |
98 | int entries; | 98 | int entries; |
99 | struct dcb_gpio_entry entry[DCB_MAX_NUM_GPIO_ENTRIES]; | 99 | struct dcb_gpio_entry entry[DCB_MAX_NUM_GPIO_ENTRIES]; |
100 | }; | 100 | }; |
@@ -120,7 +120,7 @@ struct bios_parsed_dcb { | |||
120 | uint8_t i2c_default_indices; | 120 | uint8_t i2c_default_indices; |
121 | 121 | ||
122 | uint16_t gpio_table_ptr; | 122 | uint16_t gpio_table_ptr; |
123 | struct parsed_dcb_gpio gpio; | 123 | struct dcb_gpio_table gpio; |
124 | uint16_t connector_table_ptr; | 124 | uint16_t connector_table_ptr; |
125 | struct dcb_connector_table connector; | 125 | struct dcb_connector_table connector; |
126 | }; | 126 | }; |