Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a1cc0b6 authored by Dave Jones's avatar Dave Jones
Browse files

[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: default avatarDave Jones <davej@redhat.com>
parent 146a2099
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);