Commit d47c961695dd60ed7e54dc61c16ef3f3173fe3ea

Authored by Liu Ying
Committed by Anatolij Gustschin
1 parent f794b532eb

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 <b38343@freescale.com>
Acked-by: Robin Gong <b38343@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/video/ipu_regs.h
... ... @@ -188,7 +188,7 @@
188 188 u32 sub_addr[5];
189 189 u32 bndm_en[2];
190 190 u32 sc_cord[2];
191   - u32 reserved[45];
  191 + u32 reserved[44];
192 192 u32 ch_busy[2];
193 193 };
194 194