summaryrefslogtreecommitdiff
path: root/linux-core/xgi_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/xgi_misc.c')
-rw-r--r--linux-core/xgi_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/xgi_misc.c b/linux-core/xgi_misc.c
index 9c9fd38f..d3385bef 100644
--- a/linux-core/xgi_misc.c
+++ b/linux-core/xgi_misc.c
@@ -34,12 +34,12 @@
void xgi_get_device_info(struct xgi_info * info, struct xgi_chip_info * req)
{
- req->device_id = info->device_id;
+ req->device_id = info->dev->device;
req->device_name[0] = 'x';
req->device_name[1] = 'g';
req->device_name[2] = '4';
req->device_name[3] = '7';
- req->vendor_id = info->vendor_id;
+ req->vendor_id = info->dev->vendor;
req->curr_display_mode = 0;
req->fb_size = info->fb.size;
req->sarea_bus_addr = info->sarea_info.bus_addr;