summaryrefslogtreecommitdiff
path: root/drivers/char/agp/backend.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2005-11-16 16:05:49 -0800
committerDave Jones <davej@redhat.com>2005-11-16 16:05:49 -0800
commit5e9ad06ad953c6022e4a7f6012c9b5708a8a5d8a (patch)
tree098c1fcbf0ba944afd2da299a9307bb763c41932 /drivers/char/agp/backend.c
parent0db169f9703115bab09eda5d89a8f6937a7bf98e (diff)
[AGPGART] Mark maxes_table as const
It's never written to. Noted by Arjan van de Ven Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/char/agp/backend.c')
-rw-r--r--drivers/char/agp/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/backend.c b/drivers/char/agp/backend.c
index 27bca34b4a65..80ee17a8fc23 100644
--- 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},