From 9928fbf629594c639f367f10be0fdb62421e5c19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 5 Sep 2018 20:32:28 +0200 Subject: [PATCH] radeon: fix copy/paste typo. Change-Id: I669c73a990b0fff84cf5d37b5a4cc57ad97905ff Reviewed-on: https://review.haiku-os.org/514 Reviewed-by: Alexander von Gluck IV --- src/add-ons/accelerants/radeon/InitAccelerant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/accelerants/radeon/InitAccelerant.c b/src/add-ons/accelerants/radeon/InitAccelerant.c index a8f8059d1d..64ba1daf32 100644 --- a/src/add-ons/accelerants/radeon/InitAccelerant.c +++ b/src/add-ons/accelerants/radeon/InitAccelerant.c @@ -81,7 +81,7 @@ static status_t init_common( int the_fd, bool accelerant_is_clone ) if( ai->si->memory[mt_AGP].area > 0 ) { ai->mapped_memory[mt_AGP].area = clone_area( "Radeon AGP GART area", (void **)&ai->mapped_memory[mt_AGP].data, B_ANY_ADDRESS, - B_READ_AREA | B_WRITE_AREA, ai->si->memory[mt_PCI].area ); + B_READ_AREA | B_WRITE_AREA, ai->si->memory[mt_AGP].area ); if( ai->mapped_memory[mt_AGP].area < 0 ) { result = ai->mapped_memory[mt_AGP].area; goto err5;