mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
EISA: Mark vendor ID resource as I/O port space
Previously we marked this as merely IORESOURCE_BUSY without indicating the type. Setting the type makes %pR on the resource work better. Signed-off-by: Bjorn Helgaas <[email protected]>
This commit is contained in:
parent
4cf9f24db3
commit
76668257b2
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ static int __init eisa_request_resources(struct eisa_root_device *root,
|
|||
edev->res[i].start = SLOT_ADDRESS(root, slot)
|
||||
+ EISA_VENDOR_ID_OFFSET;
|
||||
edev->res[i].end = edev->res[i].start + 3;
|
||||
edev->res[i].flags = IORESOURCE_BUSY;
|
||||
edev->res[i].flags = IORESOURCE_IO | IORESOURCE_BUSY;
|
||||
}
|
||||
|
||||
if (request_resource(root->res, &edev->res[i]))
|
||||
|
|
|
|||
Loading…
Reference in a new issue