From: Jason Kridner Date: Wed, 20 Apr 2011 13:52:26 +0000 (+0000) Subject: BeagleBoard: fixed typo in typecast X-Git-Tag: v2011.06-rc2~7^2^2~28 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f14a522a6cb6b843d31fd099b5af6a57142f2364;p=oweals%2Fu-boot.git BeagleBoard: fixed typo in typecast Without this patch, you should get a warning. Signed-off-by: Jason Kridner Acked-by: Dirk Behme --- diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 4e194a2d7b..ab50514f25 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -171,7 +171,7 @@ int misc_init_r(void) { struct gpio *gpio5_base = (struct gpio *)OMAP34XX_GPIO5_BASE; struct gpio *gpio6_base = (struct gpio *)OMAP34XX_GPIO6_BASE; - struct control_prog_io *prog_io_base = (struct gpio *)OMAP34XX_CTRL_BASE; + struct control_prog_io *prog_io_base = (struct control_prog_io *)OMAP34XX_CTRL_BASE; /* Enable i2c2 pullup resisters */ writel(~(PRG_I2C2_PULLUPRESX), &prog_io_base->io1);