public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [beagleboard] [PATCH] BeagleBoard: fixed typo in typecast
Date: Sat, 30 Apr 2011 07:46:46 +0200	[thread overview]
Message-ID: <4DBBA246.7030604@googlemail.com> (raw)
In-Reply-To: <1303343572-19972-3-git-send-email-jkridner@beagleboard.org>

On 21.04.2011 01:52, Jason Kridner wrote:
> Without this patch, you should get a warning.
>
> Signed-off-by: Jason Kridner<jkridner@beagleboard.org>
> ---
>   board/ti/beagle/beagle.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
> index 52a7f93..c0cab9e 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);

Acked-by: Dirk Behme <dirk.behme@de.bosch.com>

This should be applied to fix the mainline compiler warning

beagle.c: In function 'misc_init_r':
beagle.c:174: warning: initialization from incompatible pointer type

introduced by commit d4e53f063dd25e071444b87303573e7440deeb89
("OMAP3: BeagleBoard: Enable pullups on i2c2.").

Thanks

Dirk

      parent reply	other threads:[~2011-04-30  5:46 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-20 23:52 [U-Boot] [PATCH] BeagleBoard updates rebased on u-boot-ti and debugged Jason Kridner
2011-04-20 23:52 ` [U-Boot] [PATCH] BeagleBoard: add xM rev C to ID table Jason Kridner
2011-04-20 23:52   ` [U-Boot] [PATCH] BeagleBoard: fixed typo in typecast Jason Kridner
2011-04-20 23:52     ` [U-Boot] [PATCH] Corrected LED name match finding Jason Kridner
2011-04-20 23:52       ` [U-Boot] [PATCH] BeagleBoard: fix LED 0/1 in driver Jason Kridner
2011-04-20 23:52         ` [U-Boot] [PATCH] led: added cmd_led to Makefile Jason Kridner
2011-04-20 23:52           ` [U-Boot] [PATCH] led: correct off/on locations in structure Jason Kridner
2011-04-20 23:52             ` [U-Boot] [PATCH] led: remove trailing whitespace Jason Kridner
2011-04-20 23:52               ` [U-Boot] [PATCH] led: loop through all leds Jason Kridner
2011-04-20 23:52                 ` [U-Boot] [PATCH] led: fixup help/usage Jason Kridner
2011-04-20 23:52                   ` [U-Boot] [PATCH] BeagleBoard: Pin mux initialization glitch fix Jason Kridner
2011-04-20 23:52                     ` [U-Boot] [PATCH] BeagleBoard: config: Switch default console from ttyS2 to ttyO2 Jason Kridner
2011-04-20 23:52                       ` [U-Boot] [PATCH] BeagleBoard: config: Remove omapfb.debug=y from Beagle and Overo env settings Jason Kridner
2011-04-20 23:52                         ` [U-Boot] [PATCH] BeagleBoard: config: reduce BOOTDELAY to 3 Jason Kridner
2011-04-20 23:52                           ` [U-Boot] [PATCH] BeagleBoard: config: change default resolution to VGA Jason Kridner
2011-04-20 23:52                             ` [U-Boot] [PATCH] BeagleBoard: config: don't suck in blank line Jason Kridner
2011-04-20 23:52                               ` [U-Boot] [PATCH] BeagleBoard: config: make mtest run Jason Kridner
2011-04-20 23:52                                 ` [U-Boot] [PATCH] BeagleBoard: config: increase command-line functionality Jason Kridner
2011-04-20 23:52                                   ` [U-Boot] [PATCH] BeagleBoard: config: load kernel via MMC ext2 Jason Kridner
2011-04-20 23:52                                     ` [U-Boot] [PATCH] BeagleBoard: config: add optargs/buddy/camera Jason Kridner
2011-04-20 23:52                                       ` [U-Boot] [PATCH] BeagleBoard: config: add ramboot Jason Kridner
2011-04-20 23:52                                         ` [U-Boot] [PATCH v2] BeagleBoard: Added userbutton command Jason Kridner
2011-04-20 23:52                                           ` [U-Boot] [PATCH] BeagleBoard: config: use the USERBUTTON command Jason Kridner
2011-04-20 23:52                                             ` [U-Boot] [PATCH] video: DSS makefile update Jason Kridner
2011-04-20 23:52                                               ` [U-Boot] [PATCH v3] OMAP3: Add DSS driver for OMAP3 Jason Kridner
2011-04-20 23:52                                                 ` [U-Boot] [PATCH] BeagleBoard: config: enable DSS Jason Kridner
2011-04-20 23:52                                                   ` [U-Boot] [PATCH] BeagleBoard: Configure DVI/S-video Jason Kridner
2011-04-20 23:52                                                     ` [U-Boot] [PATCH v3] USB: Remove __attribute__ ((packed)) for struct ehci_hccr and ehci_hcor Jason Kridner
2011-04-20 23:52                                                       ` [U-Boot] [PATCH] TWL4030/BeagleBoard: Added hub power enable Jason Kridner
2011-04-21  6:29                                                       ` [U-Boot] [PATCH v3] USB: Remove __attribute__ ((packed)) for struct ehci_hccr and ehci_hcor Igor Grinberg
2011-04-21  6:26                                                     ` [U-Boot] [PATCH] BeagleBoard: Configure DVI/S-video Igor Grinberg
2011-07-04 21:58                                                 ` [U-Boot] [PATCH v3] OMAP3: Add DSS driver for OMAP3 Anatolij Gustschin
2011-08-04 20:54                                                 ` Wolfgang Denk
2011-08-04 21:14                                                   ` Jason Kridner
2011-08-04 21:02                                                 ` Wolfgang Denk
2011-07-04 21:51                                               ` [U-Boot] [PATCH] video: update Makefile to include OMAP3 DSS driver Anatolij Gustschin
2011-07-04 22:40                                                 ` Anatolij Gustschin
2011-04-21  5:58             ` [U-Boot] [PATCH] led: correct off/on locations in structure Igor Grinberg
2011-04-30  5:46     ` Dirk Behme [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DBBA246.7030604@googlemail.com \
    --to=dirk.behme@googlemail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox