diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-12-01 11:06:39 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-24 11:00:25 +0100 |
commit | 87408eb1eae7c59e81e6e3efeadde168d3b3f130 (patch) | |
tree | 35a0578634329d426c24dc0aa2bf08ff622479a2 /arch/nios2/configs | |
parent | eba1940e654b8218c08ac575edb24865c1dc32c0 (diff) |
vgacon: Set VGA struct resource types
[ Upstream commit c82084117f79bcae085e40da526253736a247120 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/nios2/configs')
0 files changed, 0 insertions, 0 deletions