diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-12-01 11:06:39 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-12-18 23:07:43 -0600 |
commit | c82084117f79bcae085e40da526253736a247120 (patch) | |
tree | 8c70cffcf6cbe81de1381c675ed5b943f465463c /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c | |
parent | 116a6063cac3107d5abfe7bd14fc01a19271b14a (diff) |
vgacon: Set VGA struct resource types
Set the resource type when we reserve VGA-related I/O port resources.
The resource code doesn't actually look at the type, so it inserts
resources without a type in the tree correctly even without this change.
But if we ever print a resource without a type, it looks like this:
vga+ [??? 0x000003c0-0x000003df flags 0x0]
Setting the type means it will be printed correctly as:
vga+ [io 0x000003c0-0x000003df]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c')
0 files changed, 0 insertions, 0 deletions