diff options
author | Dave Jones <davej@redhat.com> | 2005-11-06 05:32:26 +0100 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2005-11-06 05:32:26 +0100 |
commit | 0a1cc0b6a4abaed5f891d1be3e3d0d7b9b719287 (patch) | |
tree | 5364d43af6f0444eb94164d5c1bd015acb8c0ea4 /drivers/char | |
parent | [AGPGART] Fix up sgi-agp bug with no devices on bus. (diff) | |
download | linux-0a1cc0b6a4abaed5f891d1be3e3d0d7b9b719287.tar.xz linux-0a1cc0b6a4abaed5f891d1be3e3d0d7b9b719287.zip |
[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>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/agp/efficeon-agp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/efficeon-agp.c b/drivers/char/agp/efficeon-agp.c index b64028abc1ff..d41e0a62e32e 100644 --- a/drivers/char/agp/efficeon-agp.c +++ b/drivers/char/agp/efficeon-agp.c @@ -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); |