Skip to content

Commit

Permalink
[AGPGART] Mark maxes_table as const
Browse files Browse the repository at this point in the history
It's never written to.

Noted by Arjan van de Ven
Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Dave Jones committed Nov 17, 2005
1 parent 0db169f commit 5e9ad06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/agp/backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 5e9ad06

Please sign in to comment.