]> err.no Git - linux-2.6/commitdiff
[AGPGART] Fix number of aperture sizes in 830 gart structs.
authorDave Jones <davej@redhat.com>
Wed, 6 Sep 2006 15:59:35 +0000 (11:59 -0400)
committerDave Jones <davej@redhat.com>
Wed, 6 Sep 2006 15:59:35 +0000 (11:59 -0400)
Spotted by Eric Anholt.
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/intel-agp.c

index a425f27af9ea240917e1c8d606ad4becdac78fc0..42c7d8dec6350ac5cbc7beca21aafe97f26181f4 100644 (file)
@@ -1392,7 +1392,7 @@ static struct agp_bridge_driver intel_830_driver = {
        .owner                  = THIS_MODULE,
        .aperture_sizes         = intel_i830_sizes,
        .size_type              = FIXED_APER_SIZE,
-       .num_aperture_sizes     = 3,
+       .num_aperture_sizes     = 4,
        .needs_scratch_page     = TRUE,
        .configure              = intel_i830_configure,
        .fetch_size             = intel_i830_fetch_size,
@@ -1554,7 +1554,7 @@ static struct agp_bridge_driver intel_915_driver = {
        .owner                  = THIS_MODULE,
        .aperture_sizes         = intel_i830_sizes,
        .size_type              = FIXED_APER_SIZE,
-       .num_aperture_sizes     = 3,
+       .num_aperture_sizes     = 4,
        .needs_scratch_page     = TRUE,
        .configure              = intel_i915_configure,
        .fetch_size             = intel_i915_fetch_size,