[AGPGART] Add agp-type-to-mask-type method missing from some drivers.
authorThomas Hellstrom <thomas@tungstengraphics.com>
Mon, 5 Feb 2007 13:44:23 +0000 (14:44 +0100)
committerDave Jones <davej@redhat.com>
Mon, 5 Feb 2007 14:04:42 +0000 (09:04 -0500)
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/parisc-agp.c
drivers/char/agp/sis-agp.c

index 17c50b0f83f0ab5514ca768a9c97bc6a262f360e..b7b4590673ae977d67231ffb5eeb381b2243bcfb 100644 (file)
@@ -228,6 +228,7 @@ struct agp_bridge_driver parisc_agp_driver = {
        .free_by_type           = agp_generic_free_by_type,
        .agp_alloc_page         = agp_generic_alloc_page,
        .agp_destroy_page       = agp_generic_destroy_page,
+       .agp_type_to_mask_type  = agp_generic_type_to_mask_type,
        .cant_use_aperture      = 1,
 };
 
index a00fd48a6f05cc55fdd66451d425e1f7ae1aaddc..60342b708152d25ccd06bbf097b438f179017bb3 100644 (file)
@@ -140,6 +140,7 @@ static struct agp_bridge_driver sis_driver = {
        .free_by_type           = agp_generic_free_by_type,
        .agp_alloc_page         = agp_generic_alloc_page,
        .agp_destroy_page       = agp_generic_destroy_page,
+       .agp_type_to_mask_type  = agp_generic_type_to_mask_type,
 };
 
 static struct agp_device_ids sis_agp_device_ids[] __devinitdata =