From: Dave Jones Date: Fri, 11 Aug 2006 22:02:27 +0000 (-0400) Subject: [AGPGART] Const'ify the agpgart driver version. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e7745d4e0299a3460128917ceb6b6a807fa7f9e8;p=linux-beck.git [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 509adc403250..d59e037ddd12 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,