From: Dave Jones Date: Fri, 11 Aug 2006 22:02:27 +0000 (-0400) Subject: [AGPGART] Const'ify the agpgart driver version. X-Git-Tag: v2.6.19-rc1~1282^2~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7745d4e0299a3460128917ceb6b6a807fa7f9e8;p=linux-2.6 [AGPGART] Const'ify the agpgart driver version. Signed-off-by: Dave Jones --- diff --git a/drivers/char/agp/backend.c b/drivers/char/agp/backend.c index 509adc4032..d59e037ddd 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,