projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
971ca47
)
agp: Use u32 __iomem annotation to silence sparse warning.
author
Santosh Nayak
<santoshprasadnayak@gmail.com>
Thu, 5 Apr 2012 06:01:44 +0000
(11:31 +0530)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 12 Apr 2012 16:56:21 +0000
(17:56 +0100)
Replace "void *" by "u32 __iomem *" to silence sparse warning.
Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/agp/generic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/agp/generic.c
b/drivers/char/agp/generic.c
index 38022ea7eeb41b6e820cf8d2f2ec44994cc20013..a0df182f6f7d392c7c18608d3ef55f914e4902c6 100644
(file)
--- a/
drivers/char/agp/generic.c
+++ b/
drivers/char/agp/generic.c
@@
-958,7
+958,7
@@
int agp_generic_create_gatt_table(struct agp_bridge_data *bridge)
if (set_memory_uc((unsigned long)table, 1 << page_order))
printk(KERN_WARNING "Could not set GATT table memory to UC!\n");
- bridge->gatt_table = (
void
*)table;
+ bridge->gatt_table = (
u32 __iomem
*)table;
#else
bridge->gatt_table = ioremap_nocache(virt_to_phys(table),
(PAGE_SIZE * (1 << page_order)));