From: Dave Jones Date: Thu, 17 Nov 2005 00:05:49 +0000 (-0800) Subject: [AGPGART] Mark maxes_table as const X-Git-Tag: v2.6.15-rc4~105^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5e9ad06ad953c6022e4a7f6012c9b5708a8a5d8a;p=linux-2.6-omap-h63xx.git [AGPGART] Mark maxes_table as const It's never written to. Noted by Arjan van de Ven Signed-off-by: Dave Jones --- diff --git a/drivers/char/agp/backend.c b/drivers/char/agp/backend.c index 27bca34b4a6..80ee17a8fc2 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},