diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 16:26:58 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 16:26:58 -0500 |
commit | 7079060f3e86ea4c1d4e9c1e356592ef9dcaaa1f (patch) | |
tree | d56af89cd433440e3b9c94a830838d34b502e446 /drivers/char/agp/sgi-agp.c | |
parent | 3f00d3e8fb963968a922d821a9a53b503b687e81 (diff) | |
parent | 0a1cc0b6a4abaed5f891d1be3e3d0d7b9b719287 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart
Diffstat (limited to 'drivers/char/agp/sgi-agp.c')
-rw-r--r-- | drivers/char/agp/sgi-agp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/agp/sgi-agp.c b/drivers/char/agp/sgi-agp.c index 7957fc91f6ad..4df7734b51c2 100644 --- a/drivers/char/agp/sgi-agp.c +++ b/drivers/char/agp/sgi-agp.c | |||
@@ -289,6 +289,8 @@ static int __devinit agp_sgi_init(void) | |||
289 | j = 0; | 289 | j = 0; |
290 | list_for_each_entry(info, &tioca_list, ca_list) { | 290 | list_for_each_entry(info, &tioca_list, ca_list) { |
291 | struct list_head *tmp; | 291 | struct list_head *tmp; |
292 | if (list_empty(info->ca_devices)) | ||
293 | continue; | ||
292 | list_for_each(tmp, info->ca_devices) { | 294 | list_for_each(tmp, info->ca_devices) { |
293 | u8 cap_ptr; | 295 | u8 cap_ptr; |
294 | pdev = pci_dev_b(tmp); | 296 | pdev = pci_dev_b(tmp); |