mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 05:04:23 +08:00
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>
This commit is contained in:
parent
70c55f5ab3
commit
f14a522a6c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user