summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorJason Kridner <jkridner@beagleboard.org>2011-04-20 13:52:26 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-05-23 09:04:39 +0200
commitf14a522a6cb6b843d31fd099b5af6a57142f2364 (patch)
treea69abd968a70cc4d5623d077b90709355f64819b /board
parent70c55f5ab324d43093f1c8745462d92042b7306d (diff)
BeagleBoard: fixed typo in typecast
Without this patch, you should get a warning. Signed-off-by: Jason Kridner <jkridner@beagleboard.org> Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
Diffstat (limited to 'board')
-rw-r--r--board/ti/beagle/beagle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index 4e194a2d7b4..ab50514f255 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);