summaryrefslogtreecommitdiff
path: root/kernel/drivers/gpu/bochs.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--kernel/drivers/gpu/bochs.c4
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 =