summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2021-02-22 18:33:08 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-24 11:28:16 +0000
commitb238caaacad022a15bb3d9b46f582dc58aac786b (patch)
tree888d80911e6c0e357f126563ffadc2e10c26bbd9 /src/include
parent318c3ad6745ade5caa3257df15052131c4a1235b (diff)
device/device.c: Rename .disable to .vga_disable
This makes it clear what this function pointer is used for. Change-Id: I2090e164edee513e05a9409d6c7d18c2cdeb8662 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51009 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 0e1ca12613..01e2c825a1 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -43,7 +43,7 @@ struct device_operations {
void (*final)(struct device *dev);
void (*scan_bus)(struct device *bus);
void (*enable)(struct device *dev);
- void (*disable)(struct device *dev);
+ void (*vga_disable)(struct device *dev);
void (*reset_bus)(struct bus *bus);
#if CONFIG(GENERATE_SMBIOS_TABLES)
int (*get_smbios_data)(struct device *dev, int *handle,