projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0db169f
)
[AGPGART] Mark maxes_table as const
author
Dave Jones
<davej@redhat.com>
Thu, 17 Nov 2005 00:05:49 +0000
(16:05 -0800)
committer
Dave Jones
<davej@redhat.com>
Thu, 17 Nov 2005 00:05:49 +0000
(16:05 -0800)
It's never written to.
Noted by Arjan van de Ven
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/backend.c
patch
|
blob
|
history
diff --git
a/drivers/char/agp/backend.c
b/drivers/char/agp/backend.c
index
27bca34
..
80ee17a
100644
(file)
--- a/
drivers/char/agp/backend.c
+++ b/
drivers/char/agp/backend.c
@@
-97,7
+97,7
@@
void agp_backend_release(struct agp_bridge_data *bridge)
EXPORT_SYMBOL(agp_backend_release);
-static struct { int mem, agp; } maxes_table[] = {
+static
const
struct { int mem, agp; } maxes_table[] = {
{0, 0},
{32, 4},
{64, 28},