Commit d53fc4c3 authored by Muli Ben-Yehuda's avatar Muli Ben-Yehuda Committed by Linus Torvalds

PATCH: fix "assignment from incompatible pointer type"

parent 10d43ec6
...@@ -138,8 +138,8 @@ static int amd_create_gatt_table(void) ...@@ -138,8 +138,8 @@ static int amd_create_gatt_table(void)
return retval; return retval;
} }
agp_bridge.gatt_table_real = (unsigned long *)page_dir.real; agp_bridge.gatt_table_real = (u32 *)page_dir.real;
agp_bridge.gatt_table = (unsigned long *)page_dir.remapped; agp_bridge.gatt_table = (u32 *)page_dir.remapped;
agp_bridge.gatt_bus_addr = virt_to_phys(page_dir.real); agp_bridge.gatt_bus_addr = virt_to_phys(page_dir.real);
/* Get the address for the gart region. /* Get the address for the gart region.
......
...@@ -160,8 +160,8 @@ static int serverworks_create_gatt_table(void) ...@@ -160,8 +160,8 @@ static int serverworks_create_gatt_table(void)
return retval; return retval;
} }
agp_bridge.gatt_table_real = (unsigned long *)page_dir.real; agp_bridge.gatt_table_real = (u32 *)page_dir.real;
agp_bridge.gatt_table = (unsigned long *)page_dir.remapped; agp_bridge.gatt_table = (u32 *)page_dir.remapped;
agp_bridge.gatt_bus_addr = virt_to_phys(page_dir.real); agp_bridge.gatt_bus_addr = virt_to_phys(page_dir.real);
/* Get the address for the gart region. /* Get the address for the gart region.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment