From: Liu Ying Date: Sun, 22 Dec 2013 05:02:42 +0000 (+0800) Subject: video: ipu reg: Correct reserved array size in struct ipu_idmac X-Git-Tag: v2014.01-rc3~3^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d47c961695dd60ed7e54dc61c16ef3f3173fe3ea;p=u-boot video: ipu reg: Correct reserved array size in struct ipu_idmac The array reserved as a placeholder in the structure ipu_idmac should contain 44 32bit unsigned integer entries instead of 45 ones, because the placeholder is located bewteen the register IDMAC_SC_CORD1 and the register IDMAC_CH_BUSY_1 with the address offsets of 0x804c and 0x8100 respectively. Reported-by: Robin Gong Acked-by: Robin Gong Cc: Stefano Babic Signed-off-by: Liu Ying --- diff --git a/drivers/video/ipu_regs.h b/drivers/video/ipu_regs.h index b2481a4867..21e9c99e0e 100644 --- a/drivers/video/ipu_regs.h +++ b/drivers/video/ipu_regs.h @@ -188,7 +188,7 @@ struct ipu_idmac { u32 sub_addr[5]; u32 bndm_en[2]; u32 sc_cord[2]; - u32 reserved[45]; + u32 reserved[44]; u32 ch_busy[2]; };