Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeBDd-0000eg-8T for qemu-devel@nongnu.org; Mon, 02 Mar 2009 11:42:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeBDc-0000dx-Od for qemu-devel@nongnu.org; Mon, 02 Mar 2009 11:42:16 -0500 Received: from [199.232.76.173] (port=54240 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeBDc-0000dq-Fz for qemu-devel@nongnu.org; Mon, 02 Mar 2009 11:42:16 -0500 Received: from savannah.gnu.org ([199.232.41.3]:56453 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeBDc-0003p6-4t for qemu-devel@nongnu.org; Mon, 02 Mar 2009 11:42:16 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1LeBDb-0003vj-0F for qemu-devel@nongnu.org; Mon, 02 Mar 2009 16:42:15 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1LeBDa-0003vf-P6 for qemu-devel@nongnu.org; Mon, 02 Mar 2009 16:42:14 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Mon, 02 Mar 2009 16:42:14 +0000 Subject: [Qemu-devel] [6660] hw/openpic: define list in mpic_init() const Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 6660 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6660 Author: aurel32 Date: 2009-03-02 16:42:14 +0000 (Mon, 02 Mar 2009) Log Message: ----------- hw/openpic: define list in mpic_init() const Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/hw/openpic.c Modified: trunk/hw/openpic.c =================================================================== --- trunk/hw/openpic.c 2009-03-02 16:42:04 UTC (rev 6659) +++ trunk/hw/openpic.c 2009-03-02 16:42:14 UTC (rev 6660) @@ -1669,7 +1669,7 @@ CPUWriteMemoryFunc **write; target_phys_addr_t start_addr; ram_addr_t size; - } list[] = { + } const list[] = { {mpic_glb_read, mpic_glb_write, MPIC_GLB_REG_START, MPIC_GLB_REG_SIZE}, {mpic_tmr_read, mpic_tmr_write, MPIC_TMR_REG_START, MPIC_TMR_REG_SIZE}, {mpic_ext_read, mpic_ext_write, MPIC_EXT_REG_START, MPIC_EXT_REG_SIZE},