[AGPGART] Fix up warning in efficeon driver.

efficeon-agp.c:222: warning: passing arg 1 of `virt_to_phys' makes pointer from integer without a cast

Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
Dave Jones 2005-11-05 20:32:26 -08:00
Родитель 146a209967
Коммит 0a1cc0b6a4
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -219,7 +219,7 @@ static int efficeon_create_gatt_table(struct agp_bridge_data *bridge)
efficeon_private.l1_table[index] = page;
value = virt_to_gart(page) | pati | present | index;
value = virt_to_gart((unsigned long *)page) | pati | present | index;
pci_write_config_dword(agp_bridge->dev,
EFFICEON_ATTPAGE, value);