Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131093
b: refs/heads/master
c: f3b39f1
h: refs/heads/master
i:
  131091: 518f581
v: v3
  • Loading branch information
Zhao Yakui authored and Len Brown committed Feb 3, 2009
1 parent 18487fd commit cb0acd5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2b190e76def5233c542f6025b4a133b1d4bd1a37
refs/heads/master: f3b39f1393d5cebe56f43a584ef47efbebd2702c
6 changes: 6 additions & 0 deletions trunk/drivers/acpi/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -2006,6 +2006,12 @@ static int acpi_video_bus_add(struct acpi_device *device)
device->pnp.bus_id[3] = '0' + instance;
instance ++;
}
/* a hack to fix the duplicate name "VGA" problem on Pa 3553 */
if (!strcmp(device->pnp.bus_id, "VGA")) {
if (instance)
device->pnp.bus_id[3] = '0' + instance;
instance++;
}

video->device = device;
strcpy(acpi_device_name(device), ACPI_VIDEO_BUS_NAME);
Expand Down

0 comments on commit cb0acd5

Please sign in to comment.