[AGPGART] Mark maxes_table as const
authorDave Jones <davej@redhat.com>
Thu, 17 Nov 2005 00:05:49 +0000 (16:05 -0800)
committerDave 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

index 27bca34b4a65d3770a0c8f54d8428720c3c76e7f..80ee17a8fc2322ed7e673a611a26201dc8329778 100644 (file)
@@ -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},