diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-28 21:30:43 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-28 21:30:43 -0400 |
commit | 747546a0bd92d98988741ce9868791735bbd9044 (patch) | |
tree | 96530fe5a64f8f6b918d67ea158ea4fb10145d1c /kernel/drivers/gpu/bochs.c | |
parent | fork syscall (diff) | |
download | comus-747546a0bd92d98988741ce9868791735bbd9044.tar.gz comus-747546a0bd92d98988741ce9868791735bbd9044.tar.bz2 comus-747546a0bd92d98988741ce9868791735bbd9044.zip |
change struct gpu to gpu_dev
Diffstat (limited to 'kernel/drivers/gpu/bochs.c')
-rw-r--r-- | kernel/drivers/gpu/bochs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/gpu/bochs.c b/kernel/drivers/gpu/bochs.c index f8e5820..2dfe62e 100644 --- a/kernel/drivers/gpu/bochs.c +++ b/kernel/drivers/gpu/bochs.c @@ -31,7 +31,7 @@ #define BOCHS_HEIGHT 768 #define BOCHS_BIT_DEPTH 32 -struct gpu bochs_dev = { 0 }; +struct gpu_dev bochs_dev = { 0 }; static void write(uint16_t index, uint16_t data) { @@ -45,7 +45,7 @@ static uint16_t read(uint16_t value) return inw(DATA); } -int bochs_init(struct gpu **gpu_dev) +int bochs_init(struct gpu_dev **gpu_dev) { struct pci_device bochs = { 0 }; bool found = |