mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue