aboutsummaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-08-11 18:02:27 -0400
committerDave Jones <davej@redhat.com>2006-08-11 18:02:27 -0400
commite7745d4e0299a3460128917ceb6b6a807fa7f9e8 (patch)
treea2137ac22bfbe838faa00e49529f7cbfb9bf55dd /drivers/char
parent804af2cf6e7af31d2e664b54e657dddd9b531dbd (diff)
[AGPGART] Const'ify the agpgart driver version.
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/char')
-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 509adc40325..d59e037ddd1 100644
--- a/drivers/char/agp/backend.c
+++ b/drivers/char/agp/backend.c
@@ -44,7 +44,7 @@
* past 0.99 at all due to some boolean logic error. */
#define AGPGART_VERSION_MAJOR 0
#define AGPGART_VERSION_MINOR 101
-static struct agp_version agp_current_version =
+static const struct agp_version agp_current_version =
{
.major = AGPGART_VERSION_MAJOR,
.minor = AGPGART_VERSION_MINOR,