linux-next: fix x86 tree build failure
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 25 Aug 2008 10:22:21 +0000 (20:22 +1000)
committerIngo Molnar <mingo@elte.hu>
Mon, 25 Aug 2008 10:28:33 +0000 (12:28 +0200)
Today's linux-next build (powerpc allyesconfig) failed like this:

drivers/char/agp/uninorth-agp.c:541: error: unknown field 'agp_destroy_paged' specified in initializer

Caused by commit 5f310b63781f6777bf4e812570560ec0f8ea42d8
("agp: enable optimized agp_alloc_pages methods").  A simple typo ...

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/char/agp/uninorth-agp.c

index 2accc9744707ca16dae15d0dd5c1e02bad70665a..0f004b65ec0384e383cf12eced1320e311560031 100644 (file)
@@ -538,7 +538,7 @@ const struct agp_bridge_driver u3_agp_driver = {
        .agp_alloc_page         = agp_generic_alloc_page,
        .agp_alloc_pages        = agp_generic_alloc_pages,
        .agp_destroy_page       = agp_generic_destroy_page,
-       .agp_destroy_paged      = agp_generic_destroy_pages,
+       .agp_destroy_pages      = agp_generic_destroy_pages,
        .agp_type_to_mask_type  = agp_generic_type_to_mask_type,
        .cant_use_aperture      = true,
        .needs_scratch_page     = true,